NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item9869: Max URL shortening broken by ScriptSuffix

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine    
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="http://foswiki.myhost.com.pl/System/WebHome" />
  • <meta name="foswiki.PUBURL" content="http://foswiki.myhost.com.pl/pub" />
  • <meta name="foswiki.SCRIPTURL" content="http://foswiki.myhost.com.pl/bin" />
  • <a href="http://foswiki.myhost.com.pl/System/TipTopic021"

LocalSite.cfg contained:

$Foswiki::cfg{DefaultUrlHost} = 'http://foswiki.myhost.com';
$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
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:9677 Foswikirev:9678
TargetRelease patch
ReleasedIn 1.1.1
Topic revision: r4 - 25 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads