mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-25 04:11:12 +00: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()),
|
||||
"UTF-8"
|
||||
);
|
||||
String[] split = credentials.split(":");
|
||||
String[] split = credentials.split(":",2);
|
||||
if (split.length == 2) {
|
||||
String username = split[0];
|
||||
String password = split[1];
|
||||
|
|
Loading…
Reference in a new issue