dready92 / PHP-on-Couch

Data Access Library to access a CouchDB server with PHP.

Home Page:http://dready.byethost31.com/index.php/display/view/192

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fatal error if password contains @

opened this issue · comments

If the password contains @ (example: pass@word) this happens:

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'no data to parse' in /home/noname/.web/couchdbtest/lib/couch.php:138 Stack trace: #0 /home/noname/.web/couchdbtest/lib/couchClient.php(152): couch::parseRawResponse(false, false) #1 /home/noname/.web/couchdbtest/lib/couchClient.php(261): couchClient->_queryAndTest('GET', '/test', Array) #2 /home/noname/.web/couchdbtest/lib/couchClient.php(302): couchClient->getDatabaseInfos() #3 /home/noname/.web/couchdbtest/index.php(8): couchClient->databaseExists() #4 {main} thrown in /home/noname/.web/couchdbtest/lib/couch.php on line 138

Without @ (example : password) works.