Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
rubygem-websocket-extensions
rubygem-websocket-extensions-CVE-2020-7663.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-websocket-extensions-CVE-2020-7663.patch of Package rubygem-websocket-extensions
Index: websocket-extensions-0.1.3/lib/websocket/extensions/parser.rb =================================================================== --- websocket-extensions-0.1.3.orig/lib/websocket/extensions/parser.rb +++ websocket-extensions-0.1.3/lib/websocket/extensions/parser.rb @@ -6,7 +6,7 @@ module WebSocket class Parser TOKEN = /([!#\$%&'\*\+\-\.\^_`\|~0-9A-Za-z]+)/ NOTOKEN = /([^!#\$%&'\*\+\-\.\^_`\|~0-9A-Za-z])/ - QUOTED = /"((?:\\[\x00-\x7f]|[^\x00-\x08\x0a-\x1f\x7f"])*)"/ + QUOTED = /"((?:\\[\x00-\x7f]|[^\x00-\x08\x0a-\x1f\x7f"\\])*)"/ PARAM = %r{#{TOKEN.source}(?:=(?:#{TOKEN.source}|#{QUOTED.source}))?} EXT = %r{#{TOKEN.source}(?: *; *#{PARAM.source})*} EXT_LIST = %r{^#{EXT.source}(?: *, *#{EXT.source})*$}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor