| Anonymous | Login | Signup for a new account | 11-05-2025 09:29 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000597 | [Quercus] | minor | always | 12-30-05 08:55 | 12-30-05 15:08 | ||||
| Reporter | creich | View Status | @0@ | ||||||
| Assigned To | |||||||||
| Priority | normal | Resolution | fixed | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 3.0.18 | Product Version | |||||
| Product Build | |||||||||
| Summary | 0000597: eregi and "^[[:alnum:]]+$" | ||||||||
| Description |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd"> [^] <html xmlns="http://www.w3.org/1999/xhtml"> [^] <head></head> <body> <?php $s = "foo"; if (eregi ("^[[:alnum:]]+$", $s)) { echo "works"; } else { echo "broken"; } ?> </body> </html> Is supposed to output: works But instead outputs: broken |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0000599) creich 12-30-05 09:40 |
[a-zA-Z0-9] works though |
|
(0000605) ferg 12-30-05 15:08 |
php/1519 |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |