Re: Discussion for RFC: Set appropriate/better defaults.

From: Date: Tue, 27 Jan 2015 09:19:39 +0000
Subject: Re: Discussion for RFC: Set appropriate/better defaults.
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On 27/01/15 02:06, Yasuo Ohgaki wrote:
> Another example is http_build_query(). It should escape ' ' as '%20' by
> default, not '+'.

The quick response is probably 'why', but I probably know the answer,
becuase some standard has changed. The problem with this one is that
using a '+' sign when encoding page names is so much easier to read than
$20, and many of the systems I'm still supporting have had as a standard
since PHP4 days. Editing stored data to cope with that change is not as
easy as changing code, so what is easy to say in an RFC can have a lot
more deeper implications!

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk


Thread (7 messages)

« previous php.internals (#81208) next »