Skip to content

Commit

Permalink
Patch parameter extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwep committed Oct 13, 2018
1 parent a7ec3e3 commit 7dff7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/express/filter/FilterImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private HashMap<String, String> matchURL(String filter, String url) {
char[] fc = filter.toCharArray();
int ui = 0, fi = 0;

for (; fi < fc.length; fi++, ui++) {
for (; fi < fc.length && ui < uc.length; fi++, ui++) {

if (fc[fi] == ':') {
key.setLength(0);
Expand Down

0 comments on commit 7dff7df

Please sign in to comment.