-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
websocket check for upgrade connection header value is case-sensitive #163
Comments
This also affects the undertow websocket client: https://github.com/undertow-io/undertow/blob/ff4c9cf37872cb96070ba6a2fcbbaa6df291e390/core/src/main/java/io/undertow/websockets/client/WebSocket13ClientHandshake.java#L98 |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The upgrade value handling here:
oauth-proxy/oauthproxy.go
Line 97 in 6a45377
should be case-insensitive as discussed here: https://stackoverflow.com/questions/10953635/are-the-http-connection-header-values-case-sensitive
A proxied websocket may have issues when accessed by clients that use the lower-case upgrade value, such as tomcat websockets: https://github.com/apache/tomcat/blob/adf4d35169baf102048ebfa13b516e96501451a6/java/org/apache/tomcat/websocket/Constants.java#L89
The text was updated successfully, but these errors were encountered: