Include query strings in the redirect location

Closes #2
1.0.1