Item5408: TablePlugin not sensitive to URL rewrites

Priority: Normal
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Extension
Component: TablePlugin
TablePlugin works under the assumption that you aren't using rewritten URLs.

Line 1695 in

$url = $cgi->url . $cgi->path_info() . '?' . $plist;

should be changed to

$url = $cgi->url(rewrite => 1, -path_info => 1) . '?' . $plist;

-- TWiki:Main/ChrisFLewis - 03 Mar 2008

This should be solved with the fix for Item2525

-- TWiki:Main.RafaelAlvarez - 08 Aug 2008

Like Item2525, since it's still broken on trunk, I'm reopening this.

-- TWiki:Main.GilmarSantosJr - 08 Aug 2008

To make TablePlugin aware of URL rewrites depends on the not-CGI-standard REQUEST_URI variable. I couldn't figure out why TablePlugin should be aware of rewrites... (consider that we have $TWiki::cfg{ScriptUrlPath} and $TWiki::cfg{ScriptUrlPaths}{*}. Every situation that I could imagine of using rewrites lead me to configure these setting properly and don't rely on the non-standard variable). I'd like more feedback on this issue.

-- TWiki:Main.GilmarSantosJr - 11 Aug 2008

I cannot see this bug.

Item2525 is fixed so I assume there is nothing to do on this one.

-- KennethLavrsen - 25 Dec 2008

ItemTemplate edit

Summary TablePlugin not sensitive to URL rewrites
ReportedBy TWiki:Main.ChrisFLewis
Codebase trunk
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Extension
Component TablePlugin
Priority Normal
CurrentState No Action Required
WaitingFor TWiki:Main.RafaelAlvarez TWiki:Main.ChrisFLewis
TargetRelease n/a
Topic revision: r5 - 25 Dec 2008, KennethLavrsen
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