Skip to content

Commit

Permalink
canonicalPath Refactor
Browse files Browse the repository at this point in the history
HttpURI throws IAE rather than BME
  • Loading branch information
gregw committed Jun 28, 2021
1 parent 949c216 commit bae6d23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ else if (_path != null)
String decodeNonCanonical = URIUtil.decodePath(_path);
_decodedPath = URIUtil.canonicalPath(decodeNonCanonical);
if (_decodedPath == null)
throw new BadMessageException("Bad URI");
throw new IllegalArgumentException("Bad URI");
}
}

Expand Down

0 comments on commit bae6d23

Please sign in to comment.