Fix transition for chromium implementation

Use query for URI of external pages instead of path info

Chromium/Chrome converts %2E to .(dot) when the link is clicked
and Rails consider following string as file extension.