Fix bug 877698: Redirect components trailing path.

Rationale in [bug 877698](https://bugzilla.mozilla.org/show_bug.cgi?id=877698).