YOMO-7159 allow slashes in short path or prefix

Should you test the same with `allow_slashes_in_prefix = False` and `HTTP_BAD_REQUEST`?