[BISERVER-11550] Fix for multiple occurrences of slashes not being properly encoded.
Merge pull request #287 from pentaho-nbaker/5.1

Reviewed with Rowell