Skip to content

\SimpleSAML\Utils\System::resolvePath fails for UNC Paths #2586

Description

@raubv0gel

\SimpleSAML\Utils\System::resolvePath does not properly return UNC paths on Windows. E. g., for param $path being \\some-pc\some-share\some.key it returns /some-pc/some-share/some.key not being a valid path. Therefore $data = @file_get_contents($location); at \SimpleSAML\Utils\Crypto::retrieveCertOrKey fails to load the key file.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions