ocsigen / ocsigenserver

Web server in OCaml.
http://ocsigen.org/ocsigenserver/
Other
101 stars 31 forks source link

Redirectmod is broken when the matched string is zero-length #232

Open glondu opened 1 year ago

glondu commented 1 year ago

Since the switch to re, redirectmod (and anything else that uses Ocsigen_lib.Netstring_pcre.global_{replace,substitute}) is broken when the matched string is zero-length.

See https://github.com/ocaml/ocaml-re/issues/231

balat commented 10 months ago

@vouillon ?

balat commented 10 months ago

This is indeed a bug in Re.

vouillon commented 10 months ago

Fixed by ocaml/ocaml-re#233