<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div class="im" style="color: rgb(80, 0, 80); ">On Sun, Jan 24, 2010 at 6:55 AM, Randy Brown <span dir="ltr">&lt;<a href="mailto:randy@brownragfilms.com" target="_blank" style="color: rgb(17, 65, 112); ">randy@brownragfilms.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
I assume there is a way for my directive to support any page name without introducing a security hole. I probably only need to support a page Name, rather than Group.Name, but for future reference it would be good to know how to support either.<br>
<br></blockquote></div><div>from pmwiki.php ResolvePageName():</div><div><br></div><div>&quot;/^($GroupPattern)[.\\/]($NamePattern)$/i&quot;</div><div><br></div><div>$GroupPattern and $NamePattern are defined as this:</div>
<div><br></div><div>$GroupPattern = &#39;[[:upper:]][\\w]*(?:-\\w+)*&#39;;</div><div>$NamePattern = &#39;[[:upper:]\\d][\\w]*(?:-\\w+)*&#39;;</div><div><br></div><div>-Peter </div></span>