[Webkit-unassigned] [Bug 139298] New: [websocket] Invalid UTF-8 sequence in header value after offline/online sequence

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 5 07:38:36 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=139298

            Bug ID: 139298
           Summary: [websocket] Invalid UTF-8 sequence in header value
                    after offline/online sequence
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: iOS
                OS: iOS 8.1
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfarcand at apache.org

Created attachment 242630
  --> https://bugs.webkit.org/attachment.cgi?id=242630&action=review
Dev Tool Ouput

Opening a websocket connection using IOS (tested with 8.1, but I suspect the issue is there for all version) after going offline (Plane mode off/on) cause Safari to crash with

WebSocket connection to 'ws://10.0.1.12:8080/chat?X-Atmosphere-tracking-id=c884a896-1944-4793-b2ed-6563e218f407&X-Atmosphere-Framework=2.2.6-javascript&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&Content-Type=application/json&X-atmo-protocol=true' failed: Invalid UTF-8 sequence in header value

Before going offline, the same URL just works:

Using URL: ws://10.0.1.12:8080/chat?X-Atmosphere-tracking-id=0&X-Atmosphere-Framework=2.2.6-javascript&X-Atmosphere-Transport=websocket&X-Atmosphere-TrackMessageSize=true&Content-Type=application/json&X-atmo-protocol=true
atmosphere.js:3171

The issue seems to be with the length of the query String. For example, doing 

ws://10.0.1.12:8080/chat?X-Atmosphere-tracking-id=0

will works. But doing

ws://10.0.1.12:8080/chat?X-Atmosphere-tracking-id=0dsdasdasdasdsa

won't.

Attached is the Safari Dev Console output. This can be easily tested using the console.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141205/f3892509/attachment-0002.html>


More information about the webkit-unassigned mailing list