Replac与号问号 [英] Replac Ampersand with question mark

查看:139
本文介绍了Replac与号问号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于某种原因控制器查询到HTTP服务器和放大器;在,中部insted的呢?。如果我有更换呢?它工作正常。可有一个人写的htaccess code来代替?最终经过/login.php&重定向= 的一些东西线?login.php中重定向 *

For some reason the controller is querying to the http server with & in the middel insted of ?. If I replace it with ? It works fine. Can some one write a htaccess code to replace ? After the final "/login.php& redirect = " to some thing line "login.php? redirect*"

推荐答案

把你的htaccess文件在某个地方,适当

Put this somewhere appropriate in your htaccess file

RewriteRule ^(.*)&(.*)$ /$1?$2 [L,QSA,R=301]  

这篇关于Replac与号问号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆