I store a link such as
[[file:~/path/to/dir/some file.txt::# heading]], either manually or through
org-capture. A few days later, Org has converted all spaces to the HTML entity
[[file:~/path/to/dir/some%20file.txt::#%20heading]], and the link now fails.
The file on disk does not change, rather Org (or some other process) changes the link to that file, replacing spaces with
Why is this happening, and how can I prevent it?