You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fails the regex match (svg L473vml L250) because of the closing parenthesis in the url (number%20(18)). I'm assuming this portion ([^\)]+?) is there to make sure the last character is a closing parenthesis, but I believe that might not be necessary.
Having parenthesis in a URL is valid and should be allowed.
I would propose updating the regex to be something like the following:
/^url\(['"]?(.+?)['"]?\)$/i
The text was updated successfully, but these errors were encountered:
* heads/v2.1.2:
setViewBox() does not work properly for papers, having size in percents
getBBox() works incorrect for VML after settings View Box on canvas
IE 11 parentElement fix
fix the error/memleak in Firefox 3.0.x and 25.0.1 concerning the getBBox method
Several Fixes
Added couple of fixes, and unused jshintrc
Fix SVG insertBefore/insertAfter when using <a> wrapper node.
Use dev folder for 'npm install' in the Quickstart.
By @Badunk Setting aspect ratio to xMidYMid meet
Merging TheCloudlessSky-prevent-multiple-svg-title
IE8 / R2.0.1 - viewbox scaling
Removing extra code in html
href parameter for Paper.text does NOT behave like hyperlink in 2.1.2
Change the version in bower.json to match the tag name.
Final fix for #629
Fix bug with arrow-end/start markers sharing properties. By @vkaravir
AddEvent function incorrectly removes touch event listener. By @ThijsVanDerMeer
IE8: getBBox returns orginal coordinates for a path after drag and setting new path. By @wyatte
Issue #768 - Str(value).match(R._ISURL) returns null for valid url
Conflicts:
dev/raphael.svg.js
raphael-min.js
My URL
"url('//local.com/service.svc/method?text=number%20(18)&bg=FFFFFF')"
Regex L170
/^url\(['"]?([^\]+?)['"]?\)$/i
This fails the regex match (svg L473 vml L250) because of the closing parenthesis in the url (
number%20(18)
). I'm assuming this portion([^\)]+?)
is there to make sure the last character is a closing parenthesis, but I believe that might not be necessary.Having parenthesis in a URL is valid and should be allowed.
I would propose updating the regex to be something like the following:
/^url\(['"]?(.+?)['"]?\)$/i
The text was updated successfully, but these errors were encountered: