Mantis - Quercus
|
||||||||||
Viewing Issue Advanced Details | ||||||||||
|
||||||||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | |||||
3879 | minor | always | 02-05-10 20:15 | 01-04-13 05:45 | ||||||
|
||||||||||
Reporter: | nam | Platform: | ||||||||
Assigned To: | nam | OS: | ||||||||
Priority: | normal | OS Version: | ||||||||
Status: | closed | Product Version: | 4.0.3 | |||||||
Product Build: | Resolution: | fixed | ||||||||
Projection: | none | |||||||||
ETA: | none | Fixed in Version: | 4.0.34 | |||||||
|
||||||||||
Summary: | 0003879: vBulletin 4.0.1 - invalid conditional regexp | |||||||||
Description: |
(rep by derickso) http://forum.caucho.com/showthread.php?t=3316 [^] PHP Code: 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'; Error: Code: 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. |
|||||||||
Steps To Reproduce: | ||||||||||
Additional Information: | ||||||||||
Relationships |
| |||||||||
Attached Files: |
Notes | |||||
|
|||||
|
|