Item14812: Parameters are not passed through

pencil
Priority: Normal
Current State: New
Released In: n/a
Target Release:
Applies To: Extension
Component: RedirectPlugin
Branches:
Reported By: ChristophFuchs
Waiting For:
Last Change By: ChristophFuchs
Problem: RedirectPlugin does not pass through parameters given in the redirect statement %REDIRECT{"Someweb.SomeTopic?q=LDAP"}%

Symptom: The URL constructed by RedirectPlugin looks like .../Someweb/Sometopic?redirectedfrom=Oldweb.Oldtopic&?q=LDAP (Wrong question mark in list of URL parameters)

Demo: See RedirectPluginBugTest

Fix: In RedirectPlugin.pm line 129, change
if ( $dest =~ /(\?.*)/ ) {
to
if ( $dest =~ /\?(.*)/ ) {

-- ChristophFuchs - 22 Jan 2019

 
Topic revision: r1 - 22 Jan 2019, ChristophFuchs
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy