Fixes bug 850966 - Encode slashes in middleware URLs.
fixes bug 846815 - always pass product to report/list page
Merge pull request #308 from rhelmer/bug846815-always-pass-product-to-reportlist

bug 846815 - always pass product to report/list page
Merge pull request #316 from AdrianGaudebert/850966

Fixes bug 850966 - Encode slashes in middleware URLs.