Hello,
I had to convert a ZF application that sat on a Linux/Apache machine to a
Windows 2008/IIS7 machine. Everything seemed to work, with one minor
exception. Using the LAMP stack, if the URL had a blank value, such as
/index/index/key1//key2// then the PHP variables are blank:

$key1 = $request->getParam ( 'key1' ); //$key1 == '' (blank)
$key2 = $request->getParam ( 'key2' ); //$key2 == '' (blank)

However, since I moved to IIS7, /index/index/key1//key2// gives me the
following values:

$key1 = $request->getParam ( 'key1' ); //$key1 == 'key2' (not desired
behavior)
$key2 = $request->getParam ( 'key2' ); //$key2 == '' (blank)

Any thoughts on how to fix it? Could it be a php.ini issue? Should I convert
the route to key=value instead of key/value? If so, how?

Thank you,
Henry
-- 
View this message in context: 
http://www.nabble.com/Problem-with-empty-values-in-key-value-pairs-in-URLs-tp25152928p25152928.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to