Fixed issue where HTML entities in URL were not escaped.
Merge pull request #39 from christianselig/master

Fixed issue where HTML entities in URL were not escaped.