NodeBB/NodeBB — pull request #1658 by char101 (2014-06-09 05:22:02+00:00)
Title: Fix removeRelativePath

Instead of checking the existence of relative_path (without /) anywhere on the url, it really should check that the url only starts with the relative_path.

Example

```
relative_path = /forum
without / = forum
url = /category/forum/5
removeRelativePath = ory/forum/5
```