mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Merge pull request #1151 from kumabotz/remove-unicode
Remove unicode from url regex pattern
This commit is contained in:
commit
27f2b9acb1
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ combine = (base, ext) ->
|
||||||
return base unless ext?
|
return base unless ext?
|
||||||
return _.extend(base, ext)
|
return _.extend(base, ext)
|
||||||
|
|
||||||
urlPattern = '^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_=]*)?$'
|
urlPattern = '^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_=]*)?$'
|
||||||
|
|
||||||
# Common schema properties
|
# Common schema properties
|
||||||
me.object = (ext, props) -> combine {type: 'object', additionalProperties: false, properties: props or {}}, ext
|
me.object = (ext, props) -> combine {type: 'object', additionalProperties: false, properties: props or {}}, ext
|
||||||
|
|
Loading…
Reference in a new issue