gnome-shell/js/misc
Florian Müllner 5cc42b18b0 utils: Simplify URL regex to only support one layer of parentheses
The author of the original URL-matching regex warns[0] that the pattern may
cause certain regex engines to lock up with certain input, namely patterns
that contain parentheses. It turns out SpiderMonkey is affected, but rather
than switching to the author's improved version (that is still crazy), sim-
plify the pattern a bit by removing support for nested parentheses in URLs.
Even a single pair of parentheses is extremely rare, so this is unlikely to
make a noticeable difference (other than not locking up SpiderMonkey of
course) ...

[0] http://daringfireball.net/2010/07/improved_regex_for_matching_urls
2018-04-13 18:15:44 +00:00
..
config.js.in networkAgent: Pick up VPN service dir from pkg-config 2018-01-22 08:44:19 +01:00
extensionUtils.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
fileUtils.js fileUtils: Remove listDirAsync() 2014-01-09 13:23:26 -05:00
gnomeSession.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
history.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
ibusManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
inputMethod.js inputMethod: Pass all key events through the current IM method 2018-03-15 16:09:38 +01:00
jsParse.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
keyboardManager.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
loginManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
meson.build networkAgent: Pick up VPN service dir from pkg-config 2018-01-22 08:44:19 +01:00
modemManager.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
objectManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
params.js cleanup: Use method syntax 2018-02-21 13:54:58 +00:00
permissionStore.js weather: Follow GNOME Weather's location permissions 2017-03-20 19:13:20 +01:00
smartcardManager.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
systemActions.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
util.js utils: Simplify URL regex to only support one layer of parentheses 2018-04-13 18:15:44 +00:00
weather.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00