我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

在HTML Purifier中禁用URI验证

For various reasons I would like to disable the URI validation in HTML Purifier, is this possible?

I realize the possible security implications this would have for many sites, but not actually in this case.

You can do it by patching the source, replacing AttrDef_URI with a stub that does nothing. But this is super insecure.

近期文章

  • 动态构建<th>和<tr>
  • 比较类型时奇怪的PHP行为
  • 需要从Web界面编辑root crontab作业?
  • PHP远程MySQL数据库连接很慢
  • 复选框和PHP中的数据库删除循环时
  • PHP CRUD,使用Javascript(PostLink)将href $ _GET链接转换为$ _POST
  • 从另一个php页面加载div的内容并使用ajax显示
  • php在两个操作之间等待(多线程)
  • Cakephp:将文件保存在文件夹中并引用db
  • 如何在iFrame中使用Google Analytics进行访问者推介?
  • 使用simpleXML在PHP中显示CDATA图像
  • JSON查询问题
  • PHP mysql选择日期范围不起作用
  • jQuery $ .get请求无效
  • Json编码 - 无效的utf-8序列
  • 计算PHP数组中的出现次数
  • PHP imagejpeg不起作用
  • str_replace不替换从数据库中提取的url
  • 使用PHP获取cgi-bin路径
  • php多维数组到简单数组

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华