mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-16 02:52:31 -04:00
Merge pull request #61 from overleaf/spd-colon-passwords
GitBridge: Allow colons in passwords
This commit is contained in:
commit
545a9240d3
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ public class Oauth2Filter implements Filter {
|
||||||
Base64.decodeBase64(st.nextToken()),
|
Base64.decodeBase64(st.nextToken()),
|
||||||
"UTF-8"
|
"UTF-8"
|
||||||
);
|
);
|
||||||
String[] split = credentials.split(":");
|
String[] split = credentials.split(":",2);
|
||||||
if (split.length == 2) {
|
if (split.length == 2) {
|
||||||
String username = split[0];
|
String username = split[0];
|
||||||
String password = split[1];
|
String password = split[1];
|
||||||
|
|
Loading…
Reference in a new issue