Hey guys,
Do you know if 1.1 has stopped support for encoding the name value in the parameter array?
eg. Yii::app()->urlManager->createUrl('shop/cat',array('test & ne'=>'& sjf ')) produces a url like this : <a href="/shop/cat/test & ne/%26+sjf+.html">test</a>
Thanks.
Page 1 of 1
createUrl() not encoding the name value in 1.1
#2
Posted 03 March 2010 - 07:50 AM
GDzyne, on 02 March 2010 - 03:11 PM, said:
Hey guys,
Do you know if 1.1 has stopped support for encoding the name value in the parameter array?
eg. Yii::app()->urlManager->createUrl('shop/cat',array('test & ne'=>'& sjf ')) produces a url like this : <a href="/shop/cat/test & ne/%26+sjf+.html">test</a>
Thanks.
Do you know if 1.1 has stopped support for encoding the name value in the parameter array?
eg. Yii::app()->urlManager->createUrl('shop/cat',array('test & ne'=>'& sjf ')) produces a url like this : <a href="/shop/cat/test & ne/%26+sjf+.html">test</a>
Thanks.
Is anyone else having the same issue or should I open up a ticket?
#6
Posted 03 March 2010 - 09:11 AM
you need to qualify your request-vars more user-friendly!! for all time that yii is exists, nobody didn't track this as issue
) (looks like you have a problem with logic or imagination
)
-
-
Thanks, you make me stronger!
-Thanks, you make me stronger!
#7
Posted 03 March 2010 - 09:25 AM
vamp, on 03 March 2010 - 09:11 AM, said:
you need to qualify your request-vars more user-friendly!! for all time that yii is exists, nobody didn't track this as issue
) (looks like you have a problem with logic or imagination
)
I was using the above as an example to get my point accross - I am building a shopping cart where the Categories have spaces in them which I noticed was not being url encoded whereas in Yii 1.0 they were - so get your facts straight.
Share this topic:
Page 1 of 1

Help











