Open Zegnat opened 6 years ago
Right now the filename is just concatenated with the URL:
var file_url = imgmatch[1] + "&name=" + data.file.name;
This can result in URLs with spaces in them, breaking autolinking in IRC clients (including mine) and also in the IndieWeb public logs (example: Screen Shot 2017-12-27 at 12.37.17 PM.png).
data.file.name should be URL encoded.
data.file.name
Right now the filename is just concatenated with the URL:
This can result in URLs with spaces in them, breaking autolinking in IRC clients (including mine) and also in the IndieWeb public logs (example: Screen Shot 2017-12-27 at 12.37.17 PM.png).
data.file.name
should be URL encoded.