You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2025/07/21 11:12:44 UTC
svn commit: r1927361 - httpd/httpd/branches/2.4.x/modules/mappers
Author: covener
Date: Mon Jul 21 11:12:44 2025
New Revision: 1927361
Log:
fix `rewritecond expr` regression in 2.4.64
Reviewed By: covener, ylavic, gbechis, jorton
Modified:
httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c
Modified: httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c Mon Jul 21 11:12:30 2025 (r1927360)
+++ httpd/httpd/branches/2.4.x/modules/mappers/mod_rewrite.c Mon Jul 21 11:12:44 2025 (r1927361)
@@ -4276,8 +4276,9 @@ test_str_l:
rc = COND_RC_NOMATCH;
}
else {
- rc = COND_RC_MATCH;
+ rc = (rc > 0) ? COND_RC_MATCH : COND_RC_NOMATCH;
}
+
/* update briRC backref info */
if (rc && !(p->flags & CONDFLAG_NOTMATCH)) {
ctx->briRC.source = source;