Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 59977 invoked from network); 19 Feb 2008 10:20:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Feb 2008 10:20:27 -0000 Received: (qmail 38793 invoked by uid 500); 19 Feb 2008 10:20:21 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 38772 invoked by uid 500); 19 Feb 2008 10:20:21 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 38755 invoked by uid 99); 19 Feb 2008 10:20:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 02:20:21 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Janne.Jalkanen@ecyrd.com designates 193.64.5.122 as permitted sender) Received: from [193.64.5.122] (HELO mail.ecyrd.com) (193.64.5.122) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2008 10:19:48 +0000 Received: from [192.168.0.12] (cs181005170.pp.htv.fi [82.181.5.170]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.ecyrd.com (Postfix) with ESMTP id B9648482B9; Tue, 19 Feb 2008 12:19:56 +0200 (EET) In-Reply-To: <1015301953.20080219105709@holeczek.de> References: <1015301953.20080219105709@holeczek.de> Mime-Version: 1.0 (Apple Message framework v753) X-Priority: 3 (Normal) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: jspwiki-user@incubator.apache.org Content-Transfer-Encoding: 7bit From: Janne Jalkanen Subject: Re: Trying to create a wiki page :-) Date: Tue, 19 Feb 2008 12:19:43 +0200 To: jspwiki-dev@incubator.apache.org X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org That's easy - if you are able to create a page name containing a slash, it is a bug. Slashes are NOT allowed in page names. /Janne On 19 Feb 2008, at 11:57, Florian Holeczek wrote: > Hi all, > > while trying to create a wiki page containing the slash character, > I've been running into some weird issues. I've been testing this on > 2.6.2-svn-1 running on Tomcat/6.0.14. > > It's not making much sense to me, so I'll post this here awaiting some > comments like "sure, that's all fine" or "ugh, that's a bug". > > * first try: > [issue one / two] > Creates a link to an attachment "issue one / two" of the current > page (http://localhost:8080/jspwiki/attach/issue%20one%20/%20two). > Result is a "HTTP Status 404 - Attachment 'Issue one two', version > -1 does not exist." from Tomcat. > Weird: > * Why is this an attachment and not a regular page link? > * The link appears in blue underlined letters, although it doesn't > exist. > * slash in the link (!?), no slash in the error message. > > * second try "maybe escape the slash": > [issue one \/ two] > Nearly the same again, > "http://localhost:8080/jspwiki/attach/issue%20one%20%5C/%20two". > But this time, the result is a blank page (really blank, no HTML). > > * third try "maybe with double slash": > [issue one // two] > Same as first try, but of course the double slash is the difference > in the link. > > What remains is the question of how to correctly link to such a wiki > page and whether which characters are allowed and how to be used is > documented somewhere (haven't found anything on this topic). > > Regards, > Florian