Fix %% and %semi (broken by 06d7b755582c4d9b4f0694995a9d5488aea628c5).

This commit is contained in:
ccd0 2016-01-12 02:06:41 -08:00
parent abc965c9bc
commit 55da327b10

View File

@ -48,7 +48,7 @@ Sauce =
skip = true
return ''
if key is 'url' and parameter isnt '%%' and parameter isnt '%semi'
if key is 'url' and parameter not in ['%', 'semi']
type = JSON.stringify type if /^javascript:/i.test parts['url']
type = encodeURIComponent type
type