Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from ox-it/WL-2063

WL-2063: Remove the unnecessary quotes from the url regex
  • Loading branch information...
commit 904dd2a57e5babcaf4b2926a4615cdfb835f437c 2 parents 6dccab5 + 61ff65b
@buckett buckett authored
View
2  impl/src/java/org/sakaiproject/shortenedurl/impl/ShortenedInterceptor.java
@@ -37,7 +37,7 @@ public void init() {
if (iterator.hasNext())
servers.append('|');
}
- shortenedUrlPattern = Pattern.compile("(https?://)?(?:\"" + servers + "\")(?::\\d+)?/+x/+\\w+", Pattern.CASE_INSENSITIVE);
+ shortenedUrlPattern = Pattern.compile("(https?://)?(?:" + servers + ")(?::\\d+)?/+x/+\\w+", Pattern.CASE_INSENSITIVE);
}
public boolean isUrlHandled(String url) {
Please sign in to comment.
Something went wrong with that request. Please try again.