[wp-trac] [WordPress Trac] #25061: Plugin/Theme/Core Updates Fail When Curl Used and String Function Overloading Configured
WordPress Trac
noreply at wordpress.org
Sun Aug 18 08:32:24 UTC 2013
#25061: Plugin/Theme/Core Updates Fail When Curl Used and String Function
Overloading Configured
--------------------------+---------------------
Reporter: DrProtocols | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.6.1
Component: HTTP | Version: 3.6
Severity: major | Resolution: fixed
Keywords: |
--------------------------+---------------------
Changes (by dd32):
* keywords: has-patch commit =>
* status: new => closed
* resolution: => fixed
Comment:
> Is there some reason why we shouldn't just set this on environment
initialisation? (ie. when we attack magic quotes)
>It seems like this is something that would cause some pretty unexpected
results for some plugins.
Took a look, and if we do that, any plugin which uses `mb_strlen()` would
result in mb_strlen() returning the same as strlen() (ie. 24char instead
of 8char for a Japanese string). Ultimately, this means that we have to
switch to ascii and back again whenever we're using binary data.
Calling this fixed. Thanks DrProtocols!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25061#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list