Implement redirect parameter sanitization
Implement match locations
Closes #45