Page redirection does not work on some systems (depending on the environment), i.e. the thank you page is not shown after registering a user, it just times out. (Reported by
AriehMarkel and
WolfgangSteinke.)
Cause: TWiki 01 May 2000 uses only the URL path (excluding host name) for the redirect command. Some Perl environments require a complete URL (including host name).
Fix:
- Add the host name to sub
viewUrl in file wiki.pm as described in MissingScriptSuffix:
return "$urlHost$scriptUrlPath/view$scriptSuffix/$webName/$topic";
Note: The TWiki core has been fixed on 24 May 2000.
- Grep for
redirect and add the host name to all redirect commands that call the oops script. Example:
print $query->redirect( "$wiki::urlHost$scriptUrlPath/oops$scriptSuffix/$webName/$topic?template=oopsregexist¶m1=$wikiName" );
Note: The TWiki core needs to be fixed. Best to create a new sub oopsUrl so that one can call print $query->redirect( &wiki::oopsUrl( $webName, $topic, $oopsTemplate, $param1, $param2 ) );
--
PeterThoeny - 20 Jun 2000
Fixed TWiki Alpha, commited to CVS.
--
PeterThoeny - 21 Jun 2000