We must not expand #symbol in the middle of a url, where it is probably a fragment identifier. Restrict problem.