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', {
|
||||
'host': dbot.config.web.webHost,
|
||||
'port': dbot.config.web.webPort,
|
||||
'path': 'quotes/' + key
|
||||
'path': 'quotes/' + encodeURIComponent(key)
|
||||
})
|
||||
}));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user