Repair path matching where no explicit PathPatternElement::Rest is present
This commit is contained in:
parent
1f0c9d2883
commit
0c06ae9601
|
@ -187,7 +187,10 @@ fn path_pattern_matches(path_pat: &http::PathPattern, path: &Vec<String>) -> boo
|
||||||
http::PathPatternElement::Rest => return true,
|
http::PathPatternElement::Rest => return true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
true
|
match path_iter.next() {
|
||||||
|
Some(_more) => false,
|
||||||
|
None => true,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn try_hostname<'table>(
|
fn try_hostname<'table>(
|
||||||
|
|
Loading…
Reference in New Issue