#1039 ignore url interpolations without mapped values
This commit is contained in:
parent
db17958f0b
commit
dee64503db
4 changed files with 9 additions and 3 deletions
|
|
@ -2113,7 +2113,7 @@
|
|||
if (data) {
|
||||
url = url.replace(/:[a-z]\w+/gi, function (token){
|
||||
var key = token.slice(1)
|
||||
var value = data[key]
|
||||
var value = data[key] || token
|
||||
delete data[key]
|
||||
return value
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue