> 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 incrementally with one additional commit since the last revision: Clarify the "old behavior" ------------- Changes: - all: https://git.openjdk.org/jdk/pull/29264/files - new: https://git.openjdk.org/jdk/pull/29264/files/7116aa2f..ed44cf3e Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=29264&range=06 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29264&range=05-06 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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
