All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 3a1f4ac0 authored by Jonathon Duerig's avatar Jonathon Duerig

Make pid comparison case insensitive for image permissions check.

parent 84e63b54
......@@ -347,7 +347,7 @@ function Do_GetImageInfo()
list ($auth) = Instance::ParseURN($row["project_urn"]);
list ($domain,$impid) = preg_split('/:/', $auth);
if ($impid && $impid == $pid) {
if ($impid && strtolower($impid) == strtolower($pid)) {
goto allowed;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment