aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2013-12-13 09:34:35 +0200
committerHenri Sara <hesara@vaadin.com>2013-12-13 09:34:35 +0200
commita8947f7f6461c6382448e9b569f49fd37d5044bf (patch)
tree93e3396a55ffae956b95a94e98ce652eb2c54c63
parentcaddd1e32396b328402db7e456346d202ea6fcd0 (diff)
downloadvaadin-framework-a8947f7f6461c6382448e9b569f49fd37d5044bf.tar.gz
vaadin-framework-a8947f7f6461c6382448e9b569f49fd37d5044bf.zip
Allow also dots and spaces in legacy locator PIDs (#13017)
These characters are used in automated tests of Vaadin itself. Change-Id: I7cff655e36f39c48f539487609e58eac90ec8761
-rw-r--r--client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java b/client/src/com/vaadin/client/componentlocator/LegacyLocatorStrategy.java
index cf91d5d4ad..56c86bab7b 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]*)?)?(/[-$_a-zA-Z0-9]+\\[\\d+\\])*/?(#.*)?$");
+ .compile("^((\\w+::)?((PID_S)?\\w[-$_a-zA-Z0-9. ]*)?)?(/[-$_a-zA-Z0-9]+\\[\\d+\\])*/?(#.*)?$");
public LegacyLocatorStrategy(ApplicationConnection clientConnection) {
client = clientConnection;