fix: urls were backslashed on windows

While Microsoft Windows uses the backslash `\` as a directory separator, urls use the forwardslash. This pull request simply transforms generated urls before injection, to valid urls.