• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4827: Using the viewfile script for an attachment when logged out does not work

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension NatSkin Normal New MichaelDaum n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


When logged in, this produces an attachment as expected.

Although, when logged out, it produces login screen:

After logging in, another request is made to viewfile, but this fails with a redirect to an "Attachment '?' does not exist" page.

Note the values for param1 and param2 are incorrect.

They should look like this, for a request for a non-existent attachment:

The data passed in from 'origurl' seems to have been parsed such that the filename is the question mark character, rather than 'test.txt' as it should have been.
I have spent a bit of time searching for where this may occur with not much luck. It seems odd that the problem lies with NatSkin, rather than TWiki.

-- TWiki:Main/ChrisLJones - 15 Oct 2007

Summary Using the viewfile script for an attachment when logged out does not work
ReportedBy TWiki:Main.ChrisLJones
Codebase 4.1.2
SVN Range

AppliesTo Extension
Component NatSkin
Priority Normal
CurrentState New
WaitingFor MichaelDaum

TargetRelease n/a

Topic revision: r1 - 2007-10-15 - ChrisLJones
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback