8000 Fix URL bug introduced by Apache Update for CVE-2023-25690 by amorsent · Pull Request #79 · d6lts/drupal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix URL bug introduced by Apache Update for CVE-2023-25690 #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 6.x
Choose a base branch
from

Conversation

amorsent
Copy link
Contributor
@amorsent amorsent commented May 7, 2023

Backport of #284899: Drupal url problem with clean urls.
https://www.drupal.org/project/drupal/issues/284899

Also fixes URL bugs introduced by Apache Update for CVE-2023-25690

Original commit: https://git.drupalcode.org/project/drupal/-/commit/1df3cfffefefc93ed2d29041d148938d08bb9d4e

Notes:
Test changes from original commit is excluded because the equivalents don't exist in D6.

drupal_environment_initialize() does not exist in D6. I have added the code in _drupal_bootstrap(DRUPAL_BOOTSTRAP_CONFIGURATION)

The original commit only syncs $_GET['q']. I am also setting $_REQUEST['q'] 8000 because some contrib modules use that.

Some functions have different names in D6.
drupal_encode_path() is drupal_urlencode() in D6
Drupal.encodePath() is Drupal.encodeURIComponent() in D6

The original commit changes autocomplete.js, but this change was later reversed for SA-CORE-2020-007 https://git.drupalcode.org/project/drupal/-/commit/cd3721550d988240ef6e682bd1cae2939c6e9e5a#5b6d51049ae7a66f45f48add03d6e3144d037ada

@JPustkuchen
Copy link

@amorsent have you been using this for a longer period of time? How mature would you say is this fix?

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
0