I need a way to decrypt encrypted URL request parameters into the original Yii controller/action path. Example:
From: http://www.site.com/feh923rfj932 (encrypted)
To: http://www.site.com/api/view/1 (decrypted)
Is there some CUrlManager router callback I can use to implement a decrypt method?
Yes, Yii provides an easy way to implement your own URL logic using Custom Url Classes “callbacks”.
Basically, you will declare a new rule that points to your new decoder/encoder class:
Your URL class will look something like this: