View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001813 | OXID eShop (all versions) | 4.09. SEO, SEO URL | public | 2010-05-05 14:00 | 2012-12-10 13:35 |
Reporter | sarunas_valaskevicius | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | Past development | ||||
Fixed in Version | 4.3.2 revision 27884 | ||||
Summary | 0001813: wrong regexp for getting unique url | ||||
Description | in 401-th line of oxseoencoder.php: $sSeoUrl = $oStr->preg_replace( "#^(/*)(".implode('|', $this->_getReservedEntryKeys()).")/#i", "\$1\$2$sAdd/", $sSeoUrl ); is wrong: $this->_getReservedEntryKeys() elements are NOT preg_quoted (see http://lt.php.net/manual/en/function.preg-quote.php) this would bring harm to systems where there file or dir exist with '#' in the name - regexp would become wrong (this is not the only case of problems, but may be the hardest) | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||