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', { '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 {