> Currently `HttpServer` allows matching a request path `/foobar` to context 
> path `/foo`. Replace this surprising behaviour with a safer approach by 
> requiring exact *path prefix matches*.
> 
> 
>          |           Request path
>  Context +------+-------+----------+---------
>   path   | /foo | /foo/ | /foo/bar | /foobar
> ---------+------+-------+----------+---------
>  /       |   Y  |   Y   |     Y    |    Y
>  /foo/   |   N  |   Y   |     Y    |    N

Volkan Yazici has updated the pull request with a new target base due to a 
merge or a rebase. The incremental webrev excludes the unrelated changes 
brought in by the merge/rebase. The pull request contains four additional 
commits since the last revision:

 - Apply review feedback
 - Merge remote-tracking branch 'upstream/master' into srvCtxPath
 - Add property to switch between prefix matching schemes
 - Do exact path prefix matching in `HttpServer`

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/29264/files
  - new: https://git.openjdk.org/jdk/pull/29264/files/e80aabcb..e55e6050

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29264&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29264&range=01-02

  Stats: 60180 lines in 1299 files changed: 30786 ins; 17226 del; 12168 mod
  Patch: https://git.openjdk.org/jdk/pull/29264.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29264/head:pull/29264

PR: https://git.openjdk.org/jdk/pull/29264

Reply via email to