Bug 21383

Summary: Variable SCRIPT_NAME is set without path
Product: Mageia Reporter: Marc Krämer <mageia>
Component: RPM PackagesAssignee: Shlomi Fish <shlomif>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: marja11
Version: 6   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: apache-2.4.26-1.mga6 CVE:
Status comment:

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