3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-29 14:12:40 +01:00

url encoding quote category link

This commit is contained in:
John Maguire 2013-03-18 22:50:59 -04:00
parent 0abccb2cf1
commit a2aef2cf00

View File

@ -199,7 +199,7 @@ var commands = function(dbot) {
'url': dbot.t('url', {
'host': dbot.config.web.webHost,
'port': dbot.config.web.webPort,
'path': 'quotes/' + key
'path': 'quotes/' + encodeURIComponent(key)
})
}));
} else {