Skip to content

Clarify CGIVar REQUEST_URI query handling#695

Open
deprrous wants to merge 1 commit into
apache:trunkfrom
deprrous:pr/httpd-cgivar-request-uri-docs
Open

Clarify CGIVar REQUEST_URI query handling#695
deprrous wants to merge 1 commit into
apache:trunkfrom
deprrous:pr/httpd-cgivar-request-uri-docs

Conversation

@deprrous

Copy link
Copy Markdown

This looks like a small docs regression from 73565fac0a.

Before that change, the note matched what ap_add_cgi_vars() still does today: the default original-uri mode can include the query string, while current-uri uses r->uri and leaves the query string in QUERY_STRING.

This patch narrows the note back to that behavior and mirrors the same correction in core.xml.fr.

Checks:

  • git diff --check
  • xmllint --noout docs/manual/mod/core.xml (same pre-existing entity warnings elsewhere in the file)
  • xmllint --noout docs/manual/mod/core.xml.fr (same pre-existing entity warnings elsewhere in the file)

Copilot AI review requested due to automatic review settings July 26, 2026 12:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects the documentation for CGIVar REQUEST_URI to match the current ap_add_cgi_vars() behavior: original-uri may include the query string, while current-uri keeps the query string in QUERY_STRING.

Changes:

  • Update the English manual note to distinguish original-uri vs current-uri query-string handling.
  • Apply the same clarification to the French translation (core.xml.fr).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/manual/mod/core.xml Clarifies REQUEST_URI / QUERY_STRING behavior per mode (original-uri vs current-uri).
docs/manual/mod/core.xml.fr Mirrors the clarification in French; includes the same behavioral distinction.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +788 to +790
Avec <code>current-uri</code>, <code>REQUEST_URI</code> est définie à partir
de l’URI actuellement traitée, et la chaîne de paramètres reste disponible
séparément dans <code>QUERY_STRING</code>. Cela est différent pour la
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants