v2.5.5
CHANGES:
Cohttp_async.resolve_local_file
,Cohttp_lwt.resolve_local_file
andCohttp_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 ofCohttp_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)