You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hu...@apache.org on 2017/11/29 03:16:29 UTC

svn commit: r1816594 - /tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

Author: huxing
Date: Wed Nov 29 03:16:29 2017
New Revision: 1816594

URL: http://svn.apache.org/viewvc?rev=1816594&view=rev
Log:
Use \u00A3 to avoid ide encoding preference

Modified:
    tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java

Modified: tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java?rev=1816594&r1=1816593&r2=1816594&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java (original)
+++ tomcat/tc7.0.x/trunk/test/org/apache/tomcat/websocket/TestWebSocketFrameClient.java Wed Nov 29 03:16:29 2017
@@ -144,7 +144,7 @@ public class TestWebSocketFrameClient ex
         SecurityCollection collection = new SecurityCollection();
         collection.addPattern("/");
         String utf8User = "test";
-        String utf8Pass = "123�";
+        String utf8Pass = "123\u00A3"; // pound sign
 
         tomcat.addUser(utf8User, utf8Pass);
         tomcat.addRole(utf8User, ROLE);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org