[pLog-svn] r5999 - plog/branches/lifetype-1.2/class/net
Jon Daley
plogworld at jon.limedaley.com
Mon Oct 22 21:59:15 EDT 2007
Is there any reason we would need to check for a .. sort of hack?
"/" aren't allowed, so it doesn't seem like it.
The hyphen always has to be at the end, or escaped, I'll fix that
in a minute.
On Mon, 22 Oct 2007, oscar at devel.lifetype.net wrote:
> Author: oscar
> Date: 2007-10-22 17:25:53 -0400 (Mon, 22 Oct 2007)
> New Revision: 5999
>
> Modified:
> plog/branches/lifetype-1.2/class/net/linkparser.class.php
> Log:
> This is a fix for issue 1413 http://bugs.lifetype.net/view.php?id=1413 -- dots were not allowed as part of article category names when using custom URLs. This change fixes the issue but I am not sure if this will have any side effects elsewhere...
>
>
> Modified: plog/branches/lifetype-1.2/class/net/linkparser.class.php
> ===================================================================
> --- plog/branches/lifetype-1.2/class/net/linkparser.class.php 2007-10-22 18:41:19 UTC (rev 5998)
> +++ plog/branches/lifetype-1.2/class/net/linkparser.class.php 2007-10-22 21:25:53 UTC (rev 5999)
> @@ -30,7 +30,7 @@
> '{minutes}' => '([0-9]{2})?',
> '{postname}' => '([_0-9a-zA-Z.-]+)?',
> '{postid}' => '([0-9]+)?',
> - '{catname}' => '([_0-9a-zA-Z-]+)?',
> + '{catname}' => '([_0-9a-zA-Z-.]+)?',
> '{catid}' => '([0-9]+)?',
> '{username}' => '([_0-9a-zA-Z-]+)?',
> '{userid}' => '([0-9]+)?',
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
--
Jon Daley
http://jon.limedaley.com/
For many people, one of the most frustrating aspects of life is not
being to understand other people's behavior. We see them as "guilty"
instead of "innocent."
-- Unknown
More information about the pLog-svn
mailing list