您好嗨有这个问题,我称之为网址:
user_confirm/this.is.fake@gmail.com
然后使用它:
echo $email = $this->uri->segment(3);
它输出:
this_is_fake@gmail_com
为什么?
P.S。这是我的配置:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-@';
谢谢!
答案 0 :(得分:2)
在system/application/config/config.php
集合中:
$config['uri_protocol'] = 'REQUEST_URI';
这对许多人来说似乎有所帮助。
来源: