Details
Description
Upload an HTML file to a course. Now, add a resource linking to that uploaded file and include an anchor as part of the link (ex. blah.html#anchor). When you follow the resource link, you should receive the error "Sorry, the requested file could not be found".
This problem does not occur when linking to external files.
It looks like the URL to the file is in the form http://server.com/file.php/xx/index.html%23anchor instead of http://server.com/file.php/xx/index.html#anchor where # is being changed to %23.
I guess we are urlencoding too much.
Jerome can you reproduce and if possible, avoid urlscaping colons, slashes and hashes? : / #
And see if that fixes the problem. Ciao