{"issue":{"created_at":"2011-12-02T03:40:34Z","state":"open","updated_at":"2011-12-02T18:27:50Z","comments":3,"user":{"gravatar_id":"a9b02e705b3f2346850f535b462a0964","id":854559,"url":"https://api.github.com/users/romusz","avatar_url":"https://secure.gravatar.com/avatar/a9b02e705b3f2346850f535b462a0964?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"romusz"},"body":"https://github.com/unfiltered/unfiltered/blob/master/netty-websockets/src/main/scala/plans.scala#L163\r\n\r\nThere is no way to return the location with wss:// prefix when using SSL. Firefox 8 and Chrome 15 don't care about it, but Safari 5.1 compares the URL with the Sec-WebSocket-Location and returns the following error: Error during WebSocket handshake: location mismatch: wss://host:8080/ != ws://host:8080\r\n\r\nCan you refactor the plan so that I can pass my WSLocation (or indicate wss:// in any other way) :\r\nhttps://github.com/unfiltered/unfiltered/blob/master/netty-websockets/src/main/scala/plans.scala#L251\r\n\r\nThanks,\r\nPaul\r\n","assignee":null,"number":100,"id":2423651,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Sec-WebSocket-Location (WSLocation) is hard-coded to ws:// protocol","closed_at":null,"html_url":"https://github.com/unfiltered/unfiltered/issues/100","url":"https://api.github.com/repos/unfiltered/unfiltered/issues/100","milestone":null},"action":"created","comment":{"created_at":"2011-12-02T18:27:50Z","updated_at":"2011-12-02T18:27:50Z","user":{"gravatar_id":"355a2b203154bf8a9423fcdecf9e44cc","id":2242,"url":"https://api.github.com/users/softprops","avatar_url":"https://secure.gravatar.com/avatar/355a2b203154bf8a9423fcdecf9e44cc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"softprops"},"body":"If you are using a locally published branch, can you test this just to be sure that was all that needed to be changed? I can test otherwise tonight before closing the issue.","id":2993758,"url":"https://api.github.com/repos/unfiltered/unfiltered/issues/comments/2993758"}}