Bug 21383 - Variable SCRIPT_NAME is set without path
Summary: Variable SCRIPT_NAME is set without path
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Shlomi Fish
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-28 14:51 CEST by Marc Krämer
Modified: 2018-03-12 20:38 CET (History)
1 user (show)

See Also:
Source RPM: apache-2.4.26-1.mga6
CVE:
Status comment:


Attachments

Description Marc Krämer 2017-07-28 14:51:09 CEST
In mga5 SCRIPT_NAME is always set with the relative path from document_root this has changed in mga6, which causes trouble with existing php applications, e.g. phpmyadmin,...

in mga5 calling http://example.com/test/index.php?test=x evalutes to
SCRIPT_NAME = /test/index.php
in mga6:
SCRIPT_NAME = /index.php

For me I changed to SCRIPT_URL, but most webapplications will break on update.
Comment 1 Marja Van Waes 2017-07-28 22:48:24 CEST
Assigning to the registered apache maintainer.

Assignee: bugsquad => shlomif
CC: (none) => marja11
Source RPM: apache-mod_proxy-2.4.26-1.mga6.x86_64.rpm => apache-2.4.26-1.mga6

Comment 2 Marc Krämer 2018-03-12 20:38:35 CET
I'm not sure what changed, but this bug is no longer valid.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.