Skip to content

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

@raubv0gel

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions