url management in Yii 2

后端 未结 1 1662
醉梦人生
醉梦人生 2021-01-12 02:47

I have this url

http://example.com/index.php/controller_name/action_name?queryString=123

This url is working fine but when I am trying to u

相关标签:
1条回答
  • 2021-01-12 03:19

    Unfortunately this feature didn't migrate to Yii2, you can still define such rules manually

    'books/view/queryString/<queryString:\w+>' => 'books/view',
    

    Link on github with this issue

    Because of many client API and Oauth servers don't work without encode

    Sam Dark answer

    0 讨论(0)
提交回复
热议问题