File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/gitlab4j/api/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public String toString() {
8989 protected static final String USER_AGENT = "GitLab4J Client" ;
9090 protected static final String COOKIES_HEADER = "Set-Cookie" ;
9191
92- protected static final String NEW_USER_AUTHENTICITY_TOKEN_REGEX = "\" new_user\" .*name=\\ \ " authenticity_token\\ \ "\\ svalue=\\ \ " ([^\\ \ " ]*)\\ \" " ;
92+ protected static final String NEW_USER_AUTHENTICITY_TOKEN_REGEX = "\" new_user\" .*name=\" authenticity_token\" \\ svalue=\" ([^\" ]*)\" " ;
9393 protected static final Pattern NEW_USER_AUTHENTICITY_TOKEN_PATTERN = Pattern .compile (NEW_USER_AUTHENTICITY_TOKEN_REGEX );
9494
9595 protected static final String AUTHENTICITY_TOKEN_REGEX = "<meta name=\" csrf-token\" content=\" ([^\" ]*)\" " ;
@@ -102,7 +102,7 @@ public String toString() {
102102 "\\ {.*?"name":"(.*?)",.*?"scopes":\\ [(.*?)\\ ],.*?"revoke_path":"(.*?)"\\ }" ;
103103 protected static final Pattern REVOKE_PERSONAL_ACCESS_TOKEN_PATTERN = Pattern .compile (REVOKE_PERSONAL_ACCESS_TOKEN_REGEX );
104104
105- protected static final String FEED_TOKEN_REGEX = "<div data-tokens-data=\\ \ "\\ {.*"feed_token":\\ {.*?"token":"(.*?)"," ;
105+ protected static final String FEED_TOKEN_REGEX = "<div data-tokens-data=\" \\ {.*"feed_token":\\ {.*?"token":"(.*?)"," ;
106106 protected static final Pattern FEED_TOKEN_PATTERN = Pattern .compile (FEED_TOKEN_REGEX );
107107
108108 protected static final String HEALTH_CHECK_ACCESS_TOKEN_REGEX = "id=\" health-check-token\" >([^<]*)<\\ /code>" ;
You can’t perform that action at this time.
0 commit comments