Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-388

Websocket client set an invalid Origin header value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.3.Final, 1.2.0.Beta9
    • None
    • None
    • None

      Undertow Websocket client currently set the handshake request Origin header value with just the host, without the scheme (cf. WebSocketClient.java#L86).

      Based on RFC 6454, the scheme is mandatory, so instead of setting an Origin header value like domain.com, the Websocket client should set http://domain.com.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              sebastien.deleuze Sébastien Deleuze (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: