3.9.2
Not reproducible in 3.9.1
We are trying to serve static files using vertx-web Router with StaticHandler, and we observe a difference of behavior with the same application code, except the Vertx version : 3.9.1 is working as before, 3.9.2 does not work as expected.
We have been searching in 3.9.2 Release notes what could be the origin of the change, and we did not find. So maybe it is a bug. If not, could you explain where the change comes from ?
Yes.
https://github.com/Olympe-ch/reproducer-vert.x-router
See https://github.com/Olympe-ch/reproducer-vert.x-router/blob/master/README.MD
JDK11, Mac OS X, reproduced also on Ubuntu 18.04
This was a bad behavior that has been fixed by https://github.com/vert-x3/vertx-web/issues/1658
To explain that this was a bug, see the given reproducer you have 2 files:
Both are on the same directory but the html refers to the script as static/check.js as this is a relative path, the location is not correct as both files reside on the same dir. Update the reference to check.js or use a absolute path /static/check.js.
Hi Paulo,
do you mean this bug fix is missing in 3.9.2 Release notes ? https://github.com/vert-x3/wiki/wiki/3.9.2-Release-Notes
Yes, I'll add it.
Thanks a lot for the work done !