-
Problem report
-
Resolution: Fixed
-
Major
-
5.0.32, 6.0.14, 6.4.0, 7.0.0alpha1
-
None
-
Ubuntu 22.04/NGINX 1.18.0
-
1
Steps to reproduce:
Use Ubuntu 22.04.2 with distro Nginx 1.18.0:
curl -L https://127.0.0.1:8443/nginx_status -k -v ... < HTTP/2 200 < server: nginx/1.18.0 (Ubuntu) < date: Mon, 20 Mar 2023 10:12:39 GMT < content-type: text/plain < content-length: 101 ... Active connections: 2 server accepts handled requests 43 43 273 Reading: 0 Writing: 1 Waiting: 1 ...
Regexp used in the template:
Server: nginx\/(.+(?<!\r))
Result:
Preprocessing failed for: HTTP/2 200 ..server: nginx/1.18.0 (Ubuntu)..date: Mon, 20 Mar 2023 10:14:45 GMT..content-type: te... 1. Failed: cannot perform regular expression "Server: nginx\/(.+(?<!\r))" match for value of type "string": pattern does not match
Expected:
Regular expression can parse both cases.
- mentioned in
-
Page Loading...