projects
/
pithos-web-client
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fd2b5e
)
Fixed auth cookie parsing
author
Christos Stathis
<chstath@ebs.gr>
Mon, 7 Nov 2011 11:08:59 +0000
(13:08 +0200)
committer
Christos Stathis
<chstath@ebs.gr>
Mon, 7 Nov 2011 11:08:59 +0000
(13:08 +0200)
src/gr/grnet/pithos/web/client/Pithos.java
patch
|
blob
|
history
diff --git
a/src/gr/grnet/pithos/web/client/Pithos.java
b/src/gr/grnet/pithos/web/client/Pithos.java
index
47f1ac8
..
8de2a99
100644
(file)
--- a/
src/gr/grnet/pithos/web/client/Pithos.java
+++ b/
src/gr/grnet/pithos/web/client/Pithos.java
@@
-566,6
+566,10
@@
public class Pithos implements EntryPoint, ResizeHandler {
authenticateUser();
return false;
}
+ if (auth.startsWith("\""))
+ auth = auth.substring(1);
+ if (auth.endsWith("\""))
+ auth = auth.substring(0, auth.length() - 1);
String[] authSplit = auth.split("\\" + conf.cookieSeparator(), 2);
if (authSplit.length != 2) {
authenticateUser();