Skip to content
This repository was archived by the owner on May 25, 2021. It is now read-only.
This repository was archived by the owner on May 25, 2021. It is now read-only.

JAR library loading fails with '#' #48

@Le1632

Description

@Le1632

The JarLibraryLoader has apparently a problem while loading if placed in a directory that contains special characters which have to be URL encoded.

For example, if the directory path contains "web#app" java.security.CodeSource.getLocaction().getPath() in line 59 will encode the '#' and return "web%23app". However, the java.util.jar.JarFile constructor expects a (not encoded) filename and consequently fails to load from the nonexistent directory "web%23app". A simple java.net.URLDecoder.decode() in line 59 would fix this issue.

I can create a pull request upon request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions