Hey,
Symfony\Component\HttpFoundation\RequestMatcher has 'matchPath()'
method, which sets the regex for matching the path, though I see that
method 'matches()' has hardcoded delimiters (#^ .. $#). Is this
intended or is this a bug, as  in docs for profiler.match.path I see
example like this: #^/admin/#i. So, the question here is is this a bug
in a code, or it's a bug in docs? I would think that hardcoding
delimiters isn't good idea as it eliminates flexibility.

p.s. I think request matcher is used in security for pattern matching,
too. Docs there give examples without delimiters.
--
Aurelijus ValeiĊĦa

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to