Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003879 [Quercus] minor always 02-05-10 20:15 01-04-13 05:45
Reporter nam View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 4.0.3
Summary 0003879: vBulletin 4.0.1 - invalid conditional regexp
Description (rep by derickso) [^]

PHP Code:

const CLEAN_REGEX = '`([\s/\\\?:@=+$,<>\%"\'\.\r\n\t\x00-\x1f\x7f]|(?(?<!&)#|#(?![0-9]+;))|&(?!#[0-9]+;)|(?<!&#\d|&#\d{2}|&#\d{3}|&#\d{4}|&#\d{5});)`s';


Warning: com.caucho.quercus.lib.regexp.IllegalRegexpException: conditional requires number /([\s/\\?:@=+$,<>\%"'\.\r\n\t\x00-\x1f\x7f]|(?(?forum\includes\class_friendly_url.php on line 335

These warnings are being printed out in plain text at the beginning of content that is listed as being gzip encoded, and is thus causing my browser to not be able to decode the content. To even get this error I had to use Wireshark to see what was going on. So this is really two bugs, the above issue with regex, and that warnings should be getting gzipped with the rest of the content.
Additional Information
Attached Files

- Relationships
related to 0004805closed nam Regex 

- Notes
01-04-13 05:45


Fixed for 4.0.34. Added support for lookahead/lookbehind assertions in conditionals.

- Issue History
Date Modified Username Field Change
02-05-10 20:15 nam New Issue
01-04-13 05:44 nam Status new => assigned
01-04-13 05:44 nam Assigned To  => nam
01-04-13 05:45 nam Status assigned => closed
01-04-13 05:45 nam Note Added: 0006140
01-04-13 05:45 nam Resolution open => fixed
01-04-13 05:45 nam Fixed in Version  => 4.0.34
01-05-13 22:05 nam Relationship added related to 0004805

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker