New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists

Item9868: Sort links on table headings are adding the command suffix on

Priority: Normal
Current State: Closed
Released In: 1.1.1
Target Release: patch
Applies To: Engine
Reported By: MatthewKoundakjian
Waiting For:
Last Change By: KennethLavrsen
I just noticed a problem I've never seen before.

If I click on a table column heading, which sets the table sort order, the url looks like this http://rsmc32-fps02/rslpwiki/bin/;table=1;up=0#sorted_table

Note the

I have the script suffix set to $Foswiki::cfg{ScriptSuffix} = '.pl'; in bin, I have all of the programs renamed to include a .pl.

If I take the above link and execute it without the extra .pl, the table sorts properly.

Pretty much everywhere except for the table heads, things work like I expect them to as far as the script suffix.

I figured that maybe there's an old template somewhere that was left over, but I can't figure out where to look.

I am running what might be a nightmarish mess and so I am not sure where to lay the blame. I am running Foswiki 1.1.0 that was upgraded from 1.0.9 that was upgraded from TWiki 4.2.1 on IIS 6.0.

And, I recently put in a boatload of extensions, which may have caused this. My extension installation spree or recent upgrade to 1.1.0 managed to break the proper operation of the wysiwyg editor in IE 7 (works fine in Firefox 3.6.9, though).

-- MatthewKoundakjian - 22 Oct 2010

This is a bug in Foswiki::Request - it was appending the ScriptSuffix to the action even when the {ScriptUrlPaths}{view} was set to the explicit view script including script suffix.

-- GeorgeClark - 23 Oct 2010

Thanks, George.

-- MatthewKoundakjian - 23 Oct 2010

ItemTemplate edit

Summary Sort links on table headings are adding the command suffix on
ReportedBy MatthewKoundakjian
Codebase 1.1.0
SVN Range
AppliesTo Engine
Priority Normal
CurrentState Closed
Checkins distro:f8819aedce43 distro:45ddae0c34a7
TargetRelease patch
ReleasedIn 1.1.1
Topic revision: r6 - 25 Oct 2010, KennethLavrsen - This page was cached on 20 Sep 2018 - 13:41.

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