Fix EZP-23364

I believe the trim is no longer needed.
With out the trim a url like /siteaccess/ gets redirected to /siteaccess.
Is this the expected behaviour or should it stay on /fred/ ?