mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-09-03 02:35:17 +00:00
Fixed so that the URL sent to users by lbrylink is cleaned from bad characters that can crash the LBRY app. Fixes #166
This commit is contained in:
parent
859d9bf5e1
commit
032e91c7ad
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ exports.lbrylink = function(bot, msg, suffix) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const embed = {
|
const embed = {
|
||||||
description: "I see you tried to post a LBRY URL, here's a friendly hyperlink to share and for others to access your content with a single click: \n" + newURL,
|
description: "I see you tried to post a LBRY URL, here's a friendly hyperlink to share and for others to access your content with a single click: \n" + newURL.replace(/[^0-9a-z#]/gi,''),
|
||||||
color: 7976557,
|
color: 7976557,
|
||||||
author: {
|
author: {
|
||||||
name: 'LBRY Linker',
|
name: 'LBRY Linker',
|
||||||
|
|
Loading…
Add table
Reference in a new issue