tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54926] New: WsFilter performs handshake validation even if it doesn't have a mapped endpoint
Date Sat, 04 May 2013 01:23:20 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54926

            Bug ID: 54926
           Summary: WsFilter performs handshake validation even if it
                    doesn't have a mapped endpoint
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: rstoyanchev@yahoo.com
    Classification: Unclassified

WsFilter performs several validations on WebSocket requests before checking if
there is a registered Endpoint. I think the check for registered Endponts (and
delegation to the next Filter) should take place first and the filter should do
no further processing if there is mapped Endpoint for that URL.

For example a SockJS protocol test send a POST request with a connection and
upgrade headers but no ws version header and expects back a 405 (invalid HTTP
method) where WsFilter sends 426 even though it has no Endpoint mapped at that
URL.

-- 
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


Mime
View raw message