#34148 [NEW]: pdo-pgsql crashes by PDO_FETCH_LAZY attribute
| From: | php at benjamin dot schulz dot name | Date: | Tue, 16 Aug 2005 08:52:03 +0000 |
| Subject: | #34148 [NEW]: pdo-pgsql crashes by PDO_FETCH_LAZY attribute | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-83632@lists.php.net to get a copy of this message | ||
From: php at benjamin dot schulz dot name
Operating system: linux
PHP version: 5.1.0b3
PHP Bug Type: URL related
Bug description: pdo-pgsql crashes by PDO_FETCH_LAZY attribute
Description:
------------
parse_url doesn't support "special" characters like + or . in the scheme
name anymore
Reproduce code:
---------------
<?php
// works
var_dump(parse_url("foobar://baz@bang/bla"))
// doesn't work at all
var_dump(parse_url("foo+bar://baz@bang/bla"));'
?>
Expected result:
----------------
array(4) {
["scheme"]=>
string(6) "foo+bar"
["host"]=>
string(4) "bang"
["user"]=>
string(3) "baz"
["path"]=>
string(4) "/bla"
}
Actual result:
--------------
array(2) {
["host"]=>
string(7) "foo+bar"
["path"]=>
string(14) "//baz@bang/bla"
}
--
Edit bug report at http://bugs.php.net/?id=34148&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34148&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34148&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34148&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34148&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34148&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34148&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34148&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34148&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34148&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34148&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34148&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34148&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34148&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34148&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34148&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34148&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34148&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34148&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34148&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34148&r=mysqlcfg