Skip to content

v2.5.5

Compare
Choose a tag to compare
@mseri mseri released this 16 Mar 10:36
· 729 commits to master since this release

CHANGES:

  • Cohttp_async.resolve_local_file, Cohttp_lwt.resolve_local_file and Cohttp_lwt_unix.resolve_file
    are now the same code under the hood (Cohttp.Path.resolve_local_file). The old names
    have been preserved for compatibility, but will be marked as deprecated in the next release. This
    changes the behavior of Cohttp_lwt_unix.resolve_file: it now percent-decodes the paths and blocks
    escaping from the docroot correctly. This also fixes and tests the corner cases in these methods
    when the docroot is empty. (@ewanmellor #755)