This shouldn't actually be necessary and may break things - we're splitting the request path here, so it should just be splitting on '/'