Yii Framework Forum: do a 'url decode' to CHttpRequest.urlReferrer - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

do a 'url decode' to CHttpRequest.urlReferrer Rate Topic: -----

#1 User is offline   Boaz 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 367
  • Joined: 23-January 11

Posted 25 June 2012 - 01:54 AM

Hi,

I was wondering why request->pathInfo is going through decodePathInfo() but urlReferrer does not?
Is the prominent use case of urlReferrer is to use it with the encoded value? I do think so (or am I missing something).

So, in case I didn't miss anything important above, I guess urlReferrer should be processed with a urldecode() or similar.
I can open a bug for this - just let me know.

Thanks.
Therapeutic PHP sessions My LinkedIn Profile
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users