YOMO-7159 allow slashes in short path or prefix

You can probably combine both tests?