jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Holeczek <flor...@holeczek.de>
Subject Re: Trying to create a wiki page :-)
Date Tue, 19 Feb 2008 10:47:18 GMT
> 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.

In particular:

>> * 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?

Have a look at the error message: JSPWiki is searching for an
attachment "Issue one two".

Slashes are not allowed, ok. Then why aren't they simply ignored, so
that the result would be a link to a _page_ named "issue one two"?

>>   * The link appears in blue underlined letters, although it doesn't
>>     exist.

No explanation for this one...

>> * 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).

... and this one.


View raw message