du13520157325 2014-09-30 07:42
浏览 160
已采纳

Chrome,Safari中的POST限制,而不是FireFox

I'm doing a simple POST via a form to another PHP page.

In Chrome and Safari, the content appears to always be trimmed down to 524kb, though it works in Firefox.

It's too low to be any of my PHP limits, which are all in the MBs. No LimitRequestBody set in Apache.

I would think that one browser working and two not rules out some kind of firewall rule.

Any other ideas on what to check?

Simple form, value gets filled in by angular. I can verify it is there in its full length on submission:

<form method="POST" action="/forcedownload/index.php">
    <input ng-hide="true" type="text"   name="options[filename]" value="{{download.options.filename}}" />
    <input ng-hide="true" type="text"   name="options[filetype]" value="{{download.options.filetype}}" />
    <input ng-hide="true" type="text"   name="data"              value="{{download.data}}" />
    <input class="btn btn-info" type="submit" ng-click="checkStringLength(download.data,result)" value="Download as CSV" ng-hide="!showPart" />
</form>

Thanks

  • 写回答

1条回答 默认 最新

  • dpnru86024 2014-09-30 09:15
    关注

    As shown in the code, the input type I was using was "text" (and I was hiding it w/ angular), instead of just using a hidden.

    text fields always have a default allowed character limit of 524288.

    doh.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

悬赏问题

  • ¥15 前端js怎么实现word的.doc后缀文件在线预览
  • ¥20 macmin m 4连接iPad
  • ¥15 DBIF_REPO_SQL_ERROR
  • ¥15 根据历年月数据,用Stata预测未来六个月汇率
  • ¥15 DevEco studio开发工具 真机联调找不到手机设备
  • ¥15 请教前后端分离的问题
  • ¥100 冷钱包突然失效,急寻解决方案
  • ¥15 下载honeyd时报错 configure: error: you need to instal a more recent version of libdnet
  • ¥15 距离软磁铁一定距离的磁感应强度大小怎么求
  • ¥15 霍尔传感器hmc5883l的xyz轴输出和该点的磁感应强度大小的关系是什么
手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部