Item9869: Max URL shortening broken by ScriptSuffix

Priority: Normal
Current State: Closed
Released In: 1.1.1
Target Release: patch
Applies To: Engine
Reported By: GeorgeClark
Waiting For:
Last Change By: KennethLavrsen
It appears that when {ScriptSuffix} is set to .pl and with maximum shortening is enabled ( {ScriptUrlPaths}{view} = ''; ) then the ScriptSuffix is appended to the hostname for the view and pub URLs.

  • <base href="" />
  • <meta name="foswiki.PUBURL" content="" />
  • <meta name="foswiki.SCRIPTURL" content="" />
  • <a href=""

LocalSite.cfg contained:

$Foswiki::cfg{DefaultUrlHost} = '';
$Foswiki::cfg{ScriptUrlPath} = '/bin';
$Foswiki::cfg{ScriptUrlPaths}{view} = '';
$Foswiki::cfg{ScriptDir} = '/var/www/foswiki/trunk/core/bin';
$Foswiki::cfg{ScriptSuffix} = '.pl';

-- GeorgeClark - 23 Oct 2010


ItemTemplate edit

Summary Max URL shortening broken by ScriptSuffix
ReportedBy GeorgeClark
Codebase 1.1.0
SVN Range
AppliesTo Engine
Priority Normal
CurrentState Closed
Checkins distro:f3be8935a57c distro:976b1ac72361
TargetRelease patch
ReleasedIn 1.1.1
Topic revision: r4 - 25 Oct 2010, KennethLavrsen - This page was cached on 10 Oct 2015 - 11:05. Get a fresh version here.
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License