Date: 08/15/00
- Next message: doehrm <email protected>: "[PHP-DEV] PHP 4.0 Bug #6179: make after conffigure doesn't work"
- Previous message: stephan.skusa <email protected>: "[PHP-DEV] PHP 4.0 Bug #6177: Strange echo behaviour"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: blake <email protected>
Operating system: Linux (RedHat 6.2)
PHP version: 4.0.1pl2
PHP Bug Type: Session related
Bug description: URI Re-writing failure
I tracked a bug down to the handling of uri re-writing. I added an fprintf to the "ext/standard/url_scanner.c" file in the url_adapt function. When the source (src) is of the form "*<a hre" (eg. the full anchor tag is truncated accidentally by whatever function calls url_adapt), the parser doesn't recognize the anchor tag and it is not re-written. The subsequent call to url_adapt gets a source string similar to 'f="path/to/file.phtml"*' which also isn't recognized as an anchor tag, obviously.
It seems that the url_adapt function should be altered to work on the whole file simultaneously or there should be added checks to ensure that anchor tags don't get split before being passed to the url_adapt function.
I can supply an HTML page that breaks due to this bug.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: doehrm <email protected>: "[PHP-DEV] PHP 4.0 Bug #6179: make after conffigure doesn't work"
- Previous message: stephan.skusa <email protected>: "[PHP-DEV] PHP 4.0 Bug #6177: Strange echo behaviour"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

