Fixed encoding issue with url fragment.