关于出现Invalid chunk ignored 错误

本文介绍了在使用Struts2框架时遇到的一个警告“Parameters:Invalidchunkignored”的原因及解决办法。该警告通常出现在提交的数据中包含了非法字符如‘&=’、‘&&’等情况下。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天用struts2做了个程序,但是页面提交的时候报
警告:Parameters:Invalid chunk ignored
把我急得不行,谁叫我之前没怎么接触过呢?没有办法,然后在网上搜索,总算是有大虾解决过这样的问题。
主要是提交的值当中有一些是关键字什么的。
当提交的时候,POST body 或 query-string参数以‘&’结束或者包含‘&=’、‘&&’这样的字符串时出现警告: Parameters: Invalid chunk ignored
search:1 Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead. user-tooltip.js:1 document.domain mutation is ignored because the surrounding agent cluster is origin-keyed. e.csdn.userTooltip @ user-tooltip.js:1 index.727020a4.js:24 页面级view上报: Object chunk-51dfc843.a10f2b26.js:1 this.showChatGPT false chunk-51dfc843.a10f2b26.js:1 this.abTestShowChat false chunk-51dfc843.a10f2b26.js:1 this.cChatMode content chunk-51dfc843.a10f2b26.js:1 this.isTabCha false chunk-51dfc843.a10f2b26.js:1 chat sdk loading chat-search.js?v=5:434 Array(2) Array(2) chat-search.js?v=5:508 ChatModel =>> Object chat-search.js?v=5:61 setFeatures >>> Proxy(Object) chat-search.js?v=5:482 production chat-search.js?v=5:482 report pageview: Proxy(Object) chunk-51dfc843.a10f2b26.js:1 window.chat Object chat-search.js?v=5:508 chat config ==> Object chat-search.js?v=5:357 Mixed Content: The page at 'https://so.youkuaiyun.com/so/search?spm=1055.2569.3001.4498&q=deepseek%E7%BD%91%E9%A1%B5%E7%89%88%E6%89%93%E4%B8%8D%E5%BC%80&t=&u=' was loaded over HTTPS, but requested an insecure element 'http://cdn-static-devbit.youkuaiyun.com/ai100/chat/imgs/md-copy.png?v=2'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html (匿名) @ chat-search.js?v=5:357 data:image/png;base…:1 Failed to load resource: net::ERR_INVALID_URL chat-search.js?v=5:61 debugger => onopen Response {type: 'cors', url: 'https://bizapi.youkuaiyun.com/cas/ai_search/completion?sign=80fbbe92608337f690eeb03ccbc0b230', redirected: false, status: 200, ok: true, …} chat-search.js?v=5:61 debugger => onclose true chat-search.js?v=5:61 onFinish NORMAL
最新发布
03-18
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值