From: Henri Sara Date: Thu, 12 Dec 2013 08:08:12 +0000 (+0200) Subject: Expand allowed character set for LegacyLocatorStrategy (#13017) X-Git-Tag: 7.2.0.beta1~169^2~5^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e941ab13913082f6178c89f39ce54fac27f9c952;p=vaadin-framework.git Expand allowed character set for LegacyLocatorStrategy (#13017) Change-Id: Ib95fecb67e97d71fb68faee82aa9ebf458c735f3 --- diff --git a/client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java b/client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java index 4a1b100213..42551db043 100644 --- a/client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java +++ b/client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java @@ -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;