[Webkit-unassigned] [Bug 21485] New: URL regular expression fails on long strings
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 8 14:32:42 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=21485
Summary: URL regular expression fails on long strings
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: patrick at chromium.org
The following regular expression fails if given a string longer than 450
characters:
/^((\w+):\/\/)(([^:]+):?([^@]+)?@)?([^\/\?:]*):?(\d+)?(\/?[^\?#]+)?\??([^#]+)?#?(.+)?/
This regex is used by the Selenium project to determine whether a string is a
valid URL.
I have observed this in Safari 3.1.2 (on Windows) and Google Chrome/Chromium.
This is very possibly the same as:
https://bugs.webkit.org/show_bug.cgi?id=18327
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list