]> source.dussan.org Git - vaadin-framework.git/commitdiff
Expand allowed character set for LegacyLocatorStrategy (#13017)
authorHenri Sara <hesara@vaadin.com>
Thu, 12 Dec 2013 08:08:12 +0000 (10:08 +0200)
committerHenri Sara <hesara@vaadin.com>
Thu, 12 Dec 2013 08:08:12 +0000 (10:08 +0200)
Change-Id: Ib95fecb67e97d71fb68faee82aa9ebf458c735f3

client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java

index 4a1b100213b6e05ea46960826efd48d2694b10d1..42551db04399181119e64f6baf8ed59d976d0041 100644 (file)
@@ -75,7 +75,7 @@ public class LegacyLocatorStrategy implements LocatorStrategy {
     private final ApplicationConnection client;
 
     private static final RegExp validSyntax = RegExp
-            .compile("^((\\w+::)?(PID_S\\w+)?)?(/[a-zA-Z0-9]+\\[\\d+\\])*$");
+            .compile("^((\\w+::)?(PID_S\\w+)?)?(/[$_a-zA-Z0-9]+\\[\\d+\\])*/?$");
 
     public LegacyLocatorStrategy(ApplicationConnection clientConnection) {
         client = clientConnection;