Encode urls with ampersand

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Unit tests pass: yes
Todo: -
License of the code: MIT