forked from GitHub/dbot
url encoding quote category link
This commit is contained in:
parent
0abccb2cf1
commit
a2aef2cf00
@ -199,7 +199,7 @@ var commands = function(dbot) {
|
|||||||
'url': dbot.t('url', {
|
'url': dbot.t('url', {
|
||||||
'host': dbot.config.web.webHost,
|
'host': dbot.config.web.webHost,
|
||||||
'port': dbot.config.web.webPort,
|
'port': dbot.config.web.webPort,
|
||||||
'path': 'quotes/' + key
|
'path': 'quotes/' + encodeURIComponent(key)
|
||||||
})
|
})
|
||||||
}));
|
}));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user