Yii Framework Forum: 6月11日更新Yii后,发现斜杠被转义了 - Yii Framework Forum

Jump to content

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

6月11日更新Yii后,发现斜杠被转义了 Rate Topic: -----

#1 User is offline   bugx 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 06-June 12

Posted 12 June 2014 - 01:10 AM

在做菜单的时候:
$menuItems[] = [
'label' => '用户管理', 'url' => ['#'],
'items' => [
['label' => '用户列表', 'url' => ['/member/index']],


]

];

以前生成的路径是
index.php?r=admin/index
现在变成了
index.php?r=admin%2Findex


这个路径不太好不?
0

#2 User is offline   ucando 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 17
  • Joined: 24-November 10

Posted 30 June 2014 - 04:36 AM

我也觉得不好看,难道Yii2以后都打算保持这样的风格?
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