Whitelist specific redirect URLs as an alternative to Vaadin-Refresh
See original GitHub issueBased on a discussion in https://stackoverflow.com/a/60389722/2376954, there may be situations where it’s not practical to add the Vaadin-Refresh
token to a redirected or otherwise intercepted response.
As an alternative, the client engine could detect whether a redirect has happened (either by migrating to the fetch
API or by looking at whether responseURL
has changed) and if the new URL matches a rule (e.g. a regular expression) configured for the application, then the new target URL is loaded as a top-level navigation instead of interpreting the response as UIDL.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Security in Vaadin applications | Advanced Topics | Flow
Vaadin lets you choose which authentication and authorization framework you want to use, instead of bundling any specific one.
Read more >Spring Security Reference
These concepts are common, and not at all specific to Spring Security. ... Instead of redirecting to a URL upon the successful logout, ......
Read more >Wicket 9.x Reference Guide
Appendix C: Lost In Redirection With Apache Wicket ... is requested or when the component or one of its ancestors is refreshed via...
Read more >Search Results - CVE
Jenkins Google Login Plugin 1.4 through 1.6 (both inclusive) improperly determines that a redirect URL after login is legitimately pointing to Jenkins. CVE-2022 ......
Read more >Load Testing of Vaadin Flow applications - CORE
Alternatives and possible improvements to the proposed solution are reviewed. ... Keywords: Load Testing, Vaadin, Performance, JMeter, Gatling, Java ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It may actually even make sense to look at the content type of the response as well. If it’s e.g.
text/html
instead of the expectedapplication/json
, then it may be quite safe to assume that a top-level navigation to the same URL may be appropriate.I guess the main reason for not sending an
Accept
header is that nobody has realized it would make sense to send one. One such reason has now been discovered.