Hello,
I know I could do so much more to adequately tell the right developer exactly what happened to me the last few days/weeks when reading my newspaper and trying to copy links I find interesting to my private forum, to keep track of what I was reading.
All of a sudden I get ERROR 400 from the servers of the Newspapers, that disrupt my reading / posting system.
After cooling down and reproducing the steps needed to get to this point I concluded it has to be a bug in how Discourse parses links pasted to the editor when using Chrome.
This would be a link I want to keep track of just by pasting it in a topic:
When pasting it in my Discourse it pastes this however:
You see how it adds the backslash here? I think it has something to do with string escaping and parsing the ~ in this case. Please fix your regex
Sorry, just a user here - can’t edit/upload this code myself yet without breaking stuff so letting you do it.