Commit Graph

312 Commits

Author SHA1 Message Date
Looly
e4dffeb4c8 修复HtmlUtil.removeHtmlAttr处理空格问题 2024-01-25 18:01:25 +08:00
Looly
fc762d9872 add test 2024-01-25 15:57:21 +08:00
Looly
eeeaf7664a 修复UserAgentUtil对QQ浏览器识别问题 2024-01-18 16:12:28 +08:00
Looly
cca184257a HTMLFilter保留p标签 2023-12-20 20:53:32 +08:00
Looly
d46f00d2be 修复graalvm编译后,未读取Content-Length可能导致的读取时间过长问题 2023-12-12 23:04:27 +08:00
lzpeng723
b613d1e3a5
修复已向 response 中写入文件后,
还会继续执行 response.send404("404 Not Found !"); 
此时会在cn.hutool.http.server.HttpServerResponse#send(int, long) 抛异常

Signed-off-by: lzpeng723 <1500913306@qq.com>
2023-11-19 04:41:00 +00:00
Looly
51488af226 修复options请求无响应体问题 2023-10-25 11:38:49 +08:00
Looly
7d80f1aa14 修复SimpleServer在添加的HttpFilter中有获取请求参数时报错问题 2023-10-25 00:21:35 +08:00
Looly
a341bf04bd UserAgent增加百度浏览器识别 2023-09-25 17:31:10 +08:00
Looly
01cb9bdd26 add test 2023-09-21 11:37:56 +08:00
Looly
6d2d57e34b 修复VersionComparator在极端数据排序时候违反了自反性问题 2023-09-21 11:34:05 +08:00
handy
b119d65006 移除未使用到的import 2023-09-14 16:56:06 +08:00
Looly
caa2b29f05 fix test 2023-09-08 19:09:47 +08:00
Looly
8c8ea211a1 add test 2023-09-08 18:39:46 +08:00
Looly
fcb1d86229 add test 2023-08-30 22:55:31 +08:00
Looly
26751fac57 修复302重定向时,Location中的问号被转义问题 2023-08-24 08:56:51 +08:00
Looly
8303fd9eab 去除默认的ACCEPT_LANGUAGE 2023-08-13 21:24:08 +08:00
zhuon
6eec0329b1 优化urlWithForm方法 2023-08-09 18:09:40 +08:00
Looly
9f777b3554 add test 2023-07-29 13:32:45 +08:00
peng.li
e1d2926dc7 fix bug:issues/I7OTCU 2023-07-28 17:58:31 +08:00
Looly
2eb8f9c969 使用multiparty方式支持body参数 2023-07-08 18:25:43 +08:00
Looly
a9932e7415 add test 2023-06-19 15:59:43 +08:00
Looly
5cc1b492b7 add text/event-stream 2023-06-08 08:51:02 +08:00
Looly
f96cf1127c 修复HttpDownloader.downloadFile 方法缺少static问题 2023-04-27 12:05:10 +08:00
Looly
acb40326f6 修复HtmlUtil的removeHtmlAttr方法匹配问题 2023-04-25 16:14:22 +08:00
Looly
d307a95f37 add tes 2023-04-20 21:27:34 +08:00
Looly
b0d528e27b 优化HttpRequest.toString()内容打印 2023-04-19 18:33:08 +08:00
Looly
91de866ffa fix decode 2023-04-18 12:24:15 +08:00
Looly
4bc25e92d8 修复MapUtil.computeIfAbsent可能存在的并发问题 2023-03-31 21:34:05 +08:00
Looly
8490de6aae
!968 完善HttpStatus
Merge pull request !968 from ningqingsheng/v5-dev-nqs
2023-03-29 14:37:10 +00:00
Looly
ea7448f3f5 add test 2023-03-29 22:36:21 +08:00
qingsheng.ning
7b6a13f1d3 feat 完善HttpStatus 2023-03-29 19:56:16 +08:00
Looly
5af423ddc2 新增followRedirectsCookie配置,支持开启自动重定向携带cookie 2023-03-09 00:03:40 +08:00
xingwan
17647af98d feat: 新增followRedirectsCookie配置,支持开启自动重定向携带cookie 2023-03-08 17:30:51 +08:00
Looly
52617b2032 修复FileUtil.moveContent会删除源目录的问题 修复HttpBase.body导致的空指针问题 2023-03-05 22:45:36 +08:00
Looly
0d11f82ee8 HttpRequest#body增加支持Resource重载 2023-03-03 20:25:27 +08:00
Looly
d708f46a09 add test 2023-03-03 17:59:02 +08:00
Looly
e37292dec0 HttpUtil.decodeParams增加isFormUrlEncoded重载 2023-01-17 11:13:46 +08:00
liangqingfeng
5e6804536e 修复HttpUtil.decodeParams方法,判断是否x-www-form-urlencoded的模式 2023-01-16 21:58:13 +08:00
Looly
78a14dc345 HttpGlobalConfig.allowPatch()调用时忽略错误 2023-01-15 11:22:44 +08:00
Looly
247d79a4fb HttpGlobalConfig.allowPatch()调用时忽略错误 2023-01-15 11:21:21 +08:00
Looly
c0b6c69497 HtmlUtil中escape方法,增加不断开空格(nbsp)转译,防止xss攻击 2022-11-28 10:30:10 +08:00
LuisStruggle
31bcd02732 html防止注入转译,增加不断开空格(nbsp)转译 2022-11-24 10:53:32 +08:00
LuisStruggle
c72757b813 转义符注释修改 2022-11-23 19:10:37 +08:00
Looly
28430e0340 UserAgentUtil增加对钉钉PC端的支持 2022-11-12 20:37:22 +08:00
Looly
4b2ec7d7a5 add test 2022-11-03 23:21:48 +08:00
Looly
c54b529153 HttpResponse增加getFileNameFromDisposition方法 2022-10-24 12:15:07 +08:00
r4v3zn
3d2310ba96 fixup! getFileNameFromDisposition access public 2022-10-24 11:08:29 +08:00
r4v3zn
834d466879 fixup! 文件名参数提取失败,并新增提取方法 2022-10-24 10:46:15 +08:00
Looly
64e983db0f add test 2022-10-22 22:50:31 +08:00