There are still enough class loader implementations out that will return a URL like file:/<snip>/%file.txt when queried for a resource named %file.txt, i.e. the URL is not encoded at all and can as such potentially include literal percent characters.