[wp-trac] Re: [WordPress Trac] #2843: bad regex pattern in
wp-includes/vars.php
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 21 02:57:26 GMT 2006
#2843: bad regex pattern in wp-includes/vars.php
-----------------------------+----------------------------------------------
Reporter: herr_ernst | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.0.4
Component: Administration | Version: 2.0.4
Severity: critical | Resolution:
Keywords: bg|dev-feedback |
-----------------------------+----------------------------------------------
Comment (by herr_ernst):
Why not also add the "$" for the end of the line like "\.php$"? Would be
more foolproof.
Very unlikely that somebody has a path like "/web/files.php/wordpress/",
but still possible.
But I don't really know what the original author wants to accomplish with
the if-else beginning line 4. So I'm not sure if the correction is
correct.
--
Ticket URL: <http://trac.wordpress.org/ticket/2843>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list