This is not for directories.  The docblock says this is for a URI path component, and that's forward slashes.