git.cweiske.de
/
surrogator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add support for OpenID, prepare 0.2.0
[surrogator.git]
/
surrogator.php
diff --git
a/surrogator.php
b/surrogator.php
index fdbd38412aa983e06eb9aee4453793b438a18808..f418750c28de5027cf571d3b53ae0172da11791c 100755
(executable)
--- a/
surrogator.php
+++ b/
surrogator.php
@@
-202,6
+202,9
@@
foreach ($fileInfos as $fileInfo) {
*/
function getHashes($fileName)
{
+ //OpenIDs have their slashes "/" url-encoded
+ $fileName = rawurldecode($fileName);
+
$fileNameNoExt = substr($fileName, 0, -strlen(strrpos($fileName, '.')) - 2);
$emailAddress = trim(strtolower($fileNameNoExt));