google-chrome - Strange Bug in Chrome 69.0.3497.81 + spring boot security + vaadin when uploading files
问题描述
I have a strange bug in my app when using Chrome 69.0.3497.81. The app works fine with previous versions of Chrome, as well as the latest Firefox, Opera and Edge.
The web-app is a Spring Boot application with Spring Boot Security (2.0.4) combined with Vaadin (8.5.1)
I have made a minimal project that exhibits the bug that can be found in https://github.com/npetalid/chromebug.git
The app shows a page with 6 buttons that upload a file. The buttons are identical. The 6th button you press (order does not play any role) fails. It waits for an answer from the server that never comes.
Uploading using the same button many times, is not a problem.
The bug only appears when spring boot security is on. I tried it on Chrome on Windows 10 and MacOs High Sierra.
As this bug is a combination of Chrome, Spring Boot Security and Vaadin I have no idea where else to ask, and thus I am asking the group here. If you feel that the question should be posted elsewhere, let me know
解决方案
我最近在使用 Chrome 时注意到我的 Spring Boot 应用程序(具有安全性)在映射该方法时执行了两次。在 Safari 中对其进行测试只会导致预期的单次执行。
推荐阅读
- ios - 应用因自动续订订阅而被拒绝
- npm - 如何使用 Twilio Studio for WhatsApp 设置多个 Ms bot 框架机器人
- java - 编写此 webflux 代码的最有效方法是什么?
- c# - 如何以编程方式捕获子窗口
- javascript - 在 Nodejs 应用程序中动态运行用户键入的函数而无需重新启动服务器?
- javascript - 另一个 iframe 中的 YouTube iframe 无法全屏显示
- c# - MVC5自定义模型绑定ValueProvider GetValue不提供值
- java - 创建一个精确的时间间隔,在很长一段时间内没有漂移
- xamarin.forms - 数据访问库和 xamarin 模型类之间发生隐式转换错误
- vue.js - 过滤查询分页