Skip to content

Fix security issue, minor API reorganization

Pre-release
Pre-release
Compare
Choose a tag to compare
@pascal-fb-martin pascal-fb-martin released this 06 Oct 22:31
· 181 commits to master since this release

This release provides three significant changes:

  • Fix a security issue (did not check for ".." in path, opening access to the whole file system).
  • Reorganize the files and build to separate the test code from the echttp implementation.
  • Refactor echttp_static.c as an optional extension to echttp.c (remove dependency in echttp.c).

The last changes causes a small incompatibility in the echttp API that may requires an application code change. This only impacts applications using echttp_route static(), which becomes echttp_static_route() and requires to include echttp_static.h.