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 2023/06/30 12:31:28 UTC

svn commit: r1910705 - /httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Author: covener
Date: Fri Jun 30 12:31:28 2023
New Revision: 1910705

URL: http://svn.apache.org/viewvc?rev=1910705&view=rev
Log:
typos/whitespace

what's one more rev?

[skip ci]

Modified:
    httpd/httpd/trunk/modules/mappers/mod_rewrite.c

Modified: httpd/httpd/trunk/modules/mappers/mod_rewrite.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mappers/mod_rewrite.c?rev=1910705&r1=1910704&r2=1910705&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mappers/mod_rewrite.c (original)
+++ httpd/httpd/trunk/modules/mappers/mod_rewrite.c Fri Jun 30 12:31:28 2023
@@ -3911,14 +3911,14 @@ static const char *cmd_rewriterule(cmd_p
     if (*(a2_end-1) == '?') {
         /* a literal ? at the end of the unsubstituted rewrite rule */
         if (newrule->flags & RULEFLAG_QSAPPEND) {
-           /* with QSA, splitoutqueryargs will safely handle it if RULEFLAG_QSLAST is set */
+           /* with QSA, splitout_queryargs will safely handle it if RULEFLAG_QSLAST is set */
            newrule->flags |= RULEFLAG_QSLAST;
         }
         else {
-            /* avoid getting a a query string via inadvertent capture */
+            /* avoid getting a query string via inadvertent capture */
             newrule->flags |= RULEFLAG_QSNONE;
-            /* trailing ? has done its job, but splitoutqueryargs will not chop it off */ 
-            *(a2_end-1) = '\0'; 
+            /* trailing ? has done its job, but splitout_queryargs will not chop it off */
+            *(a2_end-1) = '\0';
        }
     }
     else if (newrule->flags & RULEFLAG_QSDISCARD) {