Scriptlet request parameters case preserving

at 2012-02-08 in Announcements by friebe (0 comments)

Following the discussion in issue #120, we have now implemented case-preserving parameters, while keeping case-insensitive lookups. There is a minor BC break here:

  // For an URL like http://example.com/?CustomerId=100:
// * Old behaviour: $params = [ customerid : '100' ]
// * New behaviour: $params = [ CustomerId : '100' ]
$params= $request->getParams();

To retain the old behaviour, change the above as follows:

- $params= $request->getParams();
+ $params= $request->getParams(CASE_LOWER);



Subscribe

You can subscribe to the XP framework's news by using RSS syndication.


Categories

News
General
PHP5
Announcements
RFCs
Further reading
Examples
Editorial
EASC
Experiments
Unittests
Databases
5.8-SERIES
Unicode
Language
5.9-SERIES
6.0-SERIES

Related

Find related articles by a search for «Scriptlet».