You can clone with
HTTPS or Subversion.
In my project, the cache location is stored in MySQL database. The password used to connect begins for the character: ?
When the class SimplePie_IRI calls to the method parse_iri, the next regular expression fail:
preg_match (' / ^ (([^:\/? *] +):)? (\/\ / ([^\/? *] *))? ([^? *] *) (\? ([^ *] *))? (* (. *))? $ / ', $iri, $match);
The variable returned is not well formed. The regexp should be checked.
It's happened to me too. But the password doesn't need begins with ?, the error is produced if password contains the ? character.
It also happens to me. It was an issue hard to find.
If possible, can you fix the regex? If you can, let me know and I'll write tests and include it in SP, otherwise you'll have to wait until I can get around to it. :)
I guess we shouldn't try and treat it as a URL…
Sounds like a good idea to me.
I'm in favour of switching to PDO, and simply using DSNs instead. gsnedders?
That was my favoured solution at the time, but PHP4-compat requirement rather killed that.
Fixed for 1.3 in simplepie@0254b69
Note that this is an API breakage. It now expects a PDO DSN, and you must have PDO and PDO_MySQL enabled. An example DSN is given in the commit message.
I'll try this new version. I confirm to you then.