[xwiki-devs] About Space / Page names.
Hi Devs, Do we have a specific format for a space name or a page name ? A regex may be .... :P Thanks. - Asiri
xwiki:Space.PageName if you have xwiki:Spa.ce.PageName Then Spa is the space and ce.PageName the page, but it's not a read valid name.. Ludovic Asiri Rathnayake wrote:
Hi Devs,
Do we have a specific format for a space name or a page name ? A regex may be .... :P
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
On Thu, Jul 17, 2008 at 8:43 PM, Ludovic Dubost <[email protected]> wrote:
xwiki:Space.PageName
if you have
xwiki:Spa.ce.PageName
Then Spa is the space and ce.PageName the page, but it's not a read valid name..
What about allowed characters inside a SpaceName or a PageName like [^[a-zA-Z0-9]*$] ? or can they have @, #, $ and the like ? (I hope not) Thanka a lot. - Asiri
Ludovic
Asiri Rathnayake wrote:
Hi Devs,
Do we have a specific format for a space name or a page name ? A regex may be .... :P
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Ludovic Dubost wrote:
xwiki:Space.PageName
if you have
xwiki:Spa.ce.PageName
Then Spa is the space and ce.PageName the page, but it's not a read valid name..
Not true, it's the other way around: Spa.ce is the space name, and PageName is the page name. This is causing all the problems with . in AD account names, for example. Currently, any character is allowed in there, but the problem is that some characters are not forbidden and apparently work fine, but cause problems in one place or another; for example < and > could break the PDF export or the way the HTML is displayed, [, ] * and other wiki symbols could be wrongly interpreted, the dot and / cause part of the page name to be considered as part of the space name, + is confused with spaces, and so on.
Asiri Rathnayake wrote:
Hi Devs,
Do we have a specific format for a space name or a page name ? A regex may be .... :P
-- Sergiu Dumitriu http://purl.org/net/sergiu/
A recent discussion about page names : http://markmail.org/message/o3fdfncswtjazvep On Thu, Jul 17, 2008 at 7:57 AM, Asiri Rathnayake <[email protected]> wrote:
Hi Devs,
Do we have a specific format for a space name or a page name ? A regex may be .... :P
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Jean-Vincent Drean
Hi J, On Thu, Jul 17, 2008 at 8:50 PM, Jean-Vincent Drean <[email protected]> wrote:
A recent discussion about page names : http://markmail.org/message/o3fdfncswtjazvep
Thanks, this is what i was looking for :) - Asiri
On Thu, Jul 17, 2008 at 7:57 AM, Asiri Rathnayake <[email protected]> wrote:
Hi Devs,
Do we have a specific format for a space name or a page name ? A regex may be .... :P
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Jean-Vincent Drean _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi J, On Thu, Jul 17, 2008 at 8:50 PM, Jean-Vincent Drean <[email protected]> wrote:
A recent discussion about page names : http://markmail.org/message/o3fdfncswtjazvep
Even after this discussion it seems like we are to allow anything inside a page / space name ... :( Anyway, i will skip the space / page name verification for the moment and let whatever evil thing happen .. ;) Thanks. - Asiri
On Thu, Jul 17, 2008 at 7:57 AM, Asiri Rathnayake <[email protected]> wrote:
Hi Devs,
Do we have a specific format for a space name or a page name ? A regex may be .... :P
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Jean-Vincent Drean _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (4)
-
Asiri Rathnayake -
Jean-Vincent Drean -
Ludovic Dubost -
Sergiu Dumitriu