unmark
unmark copied to clipboard
When adding a mark through the bookmarklet, a question mark in the title or the url throws the pop-up off
I'm using a self-hosted copy of Unmark 2020.4. When I add a mark through the bookmarklet, I typically see the popup with the form to add tags, notes etc. But when the title or the url of the mark-to-be contains a question mark, the popup shows a 403 Forbidden error from the Apache server. It looks like the transition from
/mark/add?url=...&title=...&v=1&nowindow=yes&noui=1
to
/mark/info/xxxxxx?bookmarklet=true
isn't working in those cases.
The question mark seems to get successfully urlencoded to %3F, but it still seems to make a difference. When I remove the question mark from the title HTML tag through the browser's dev tools, I can add the mark successfully.