You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2012/04/01 16:47:56 UTC

DO NOT REPLY [Bug 53021] New: Minor bug in WebSocketServlet#headerContainsToken

https://issues.apache.org/bugzilla/show_bug.cgi?id=53021

             Bug #: 53021
           Summary: Minor bug in WebSocketServlet#headerContainsToken
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mgrigorov@apache.org
    Classification: Unclassified


There is a minor bug in
WebSocketServlet#headerContainsToken(HttpServletRequest, String, String)
method. It always returns 'true'. 
The second return (at the bottom of the method body) should return 'false',
i.e. there is no match.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 53021] Minor bug in WebSocketServlet#headerContainsToken

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53021

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Mark Thomas <ma...@apache.org> 2012-04-07 09:13:55 UTC ---
Fixed in trunk and 7.0.x and will be included in 7.0.28 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 53021] Minor bug in WebSocketServlet#headerContainsToken

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53021

mgrigorov <mg...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mgrigorov@apache.org

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 53021] Minor bug in WebSocketServlet#headerContainsToken

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53021

--- Comment #1 from Johno Crawford <jo...@sulake.com> 2012-04-01 20:20:54 UTC ---
Created attachment 28525
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28525
headerContainsToken fix

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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