Foswiki on GitHub is open for business! Next release meeting: Monday October 13, 1300Z

Item5253: Cannot stop pages created with disallowed characters

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal Closed Engine   Main.KennethLavrsen
There are several ways to create a new TWiki page; one is by going though the WebTopicCreator, the other is to manipulate the URL address, and lastly, the commonest type, by simply adding a link to an existing page.

Here is an example.

MyC++

I am using 4.0.3 but I have applied some fixes from 4.1.2 to try to solve the problem.

When going through methods 1 and 2, the plus signs will be marked as a problem with version 4.1.2 fixes. However, the problem still exists when just by clicking the added link (click on the link above - you will be in the edit page for page MyC++ (when it should be MyC)

I am testing it on twiki.org, so if it's meant to be fixed it should work, but it isn't.

One big problem caused by the plus sign (which may be fixed in newer version, I don't know for sure) is it messes up the move/delete feature. User tries to delete a file when there is a file with '+' in it exists on that web will cause an error message. The file still gets moved but it's causing us grief.

Please look into it, thanks.

-- TWiki:Main/JohnnyKwei - 15 Jan 2008

I want to mention that if instead the link goes to the view version of the page instead of edit, the warning page would come up and prevent the page with bad name from being created.

-- TWiki:Main.JohnnyKwei - 15 Jan 2008

I can confirm that even in the code for 4.2.0 we have this problem. I can create the MyC++ topic by clicking the ?-mark and that is what is saved with the plusses. If I then go to the More... screen I get a screwed up page with search code that fails.

-- TWiki:Main.KennethLavrsen - 15 Jan 2008

I am analysing this at the moment. Depending on the needed fixing it may or may not go into 1.0.5

It is not a disaster anymore because most features actually now work OK with these funny names. But the name filter should work so I want this fixed sooner or later.

-- KennethLavrsen - 22 Apr 2009

I have confirmed that name filtered characters are filtered off in Foswiki 1.1.

But we still have user interface issues.

Item9281 is one but there are more. Problems which I will open in new bug reports.

-- KennethLavrsen - 09 Jul 2010

ItemTemplate edit

Summary Cannot stop pages created with disallowed characters
ReportedBy TWiki:Main.JohnnyKwei
Codebase
SVN Range TWiki-4.3.0, Sun, 30 Dec 2007, build 16120
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor KennethLavrsen
Checkins distro:44e8d80c2283
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 04 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 License