Enable external link protection

If a Scout application opens a popup browser window and loads an
untrusted external site, this site gets a reference to the origin Scout
application using the 'window.opener' reference set by the browser.
The untrusted site is then able to load any other site or content in the
original browser window holding the Scout application. This allows to
load a phishing site to steal credentials or other sensitive information
of the victim. The victim may not notice that the original browser has
been modified.
To prevent this attack the opener reference is cleared for popups opened
using JavaScript. For links the additional attribute rel="norefferer
noopener" is added. Please note that this feature is not yet supported
by all browsers.
This affects:
- The URI open handler used by IDesktop#openUri
- The BrowserField which may be configured to open in a popup window
- Forms having the DISPLAY_HINT_POPUP_WINDOW
- The builder to create HTML links like <a href="...">

See https://mathiasbynens.github.io/rel-noopener/

#231171

Change-Id: I11475aefbb68b9c5d216d7c9bc3b9debbb648a53
Reviewed-on: https://git.eclipse.org/r/128461
Tested-by: CI Bot
Reviewed-by: Claudio Guglielmo <claudio.guglielmo@bsiag.com>
Reviewed-by: Matthias Villiger <mvi@bsi-software.com>
9 files changed
tree: f9b68d6f1e8e360c115d415211c0b346b7ee693d
  1. license_files/
  2. org.eclipse.scout.dev.jetty/
  3. org.eclipse.scout.dev.jetty.test/
  4. org.eclipse.scout.dev.jetty.test.affix/
  5. org.eclipse.scout.jaxws.apt/
  6. org.eclipse.scout.json/
  7. org.eclipse.scout.rt/
  8. org.eclipse.scout.rt-settings/
  9. org.eclipse.scout.rt.client/
  10. org.eclipse.scout.rt.client.test/
  11. org.eclipse.scout.rt.jackson/
  12. org.eclipse.scout.rt.jackson.test/
  13. org.eclipse.scout.rt.mail/
  14. org.eclipse.scout.rt.mail.test/
  15. org.eclipse.scout.rt.mom.api/
  16. org.eclipse.scout.rt.mom.api.test/
  17. org.eclipse.scout.rt.mom.jms/
  18. org.eclipse.scout.rt.mom.jms.test/
  19. org.eclipse.scout.rt.platform/
  20. org.eclipse.scout.rt.platform.test/
  21. org.eclipse.scout.rt.rest/
  22. org.eclipse.scout.rt.rest.jackson/
  23. org.eclipse.scout.rt.rest.jersey.client/
  24. org.eclipse.scout.rt.rest.test/
  25. org.eclipse.scout.rt.server/
  26. org.eclipse.scout.rt.server.commons/
  27. org.eclipse.scout.rt.server.commons.test/
  28. org.eclipse.scout.rt.server.jaxws/
  29. org.eclipse.scout.rt.server.jaxws.test/
  30. org.eclipse.scout.rt.server.jdbc/
  31. org.eclipse.scout.rt.server.jdbc.test/
  32. org.eclipse.scout.rt.server.test/
  33. org.eclipse.scout.rt.serverbridge/
  34. org.eclipse.scout.rt.shared/
  35. org.eclipse.scout.rt.shared.test/
  36. org.eclipse.scout.rt.svg.client/
  37. org.eclipse.scout.rt.svg.client.test/
  38. org.eclipse.scout.rt.svg.ui.html/
  39. org.eclipse.scout.rt.team-project-set/
  40. org.eclipse.scout.rt.ui.html/
  41. org.eclipse.scout.rt.ui.html.scriptprocessor/
  42. org.eclipse.scout.rt.ui.html.scriptprocessor.test/
  43. org.eclipse.scout.rt.ui.html.selenium/
  44. org.eclipse.scout.rt.ui.html.test/
  45. shell_scripts/
  46. .gitattributes
  47. .gitignore
  48. .gitreview
  49. CONTRIBUTING.md
  50. pom.xml
  51. README.md
README.md

Eclipse Scout - RT

[Eclipse Scout] 1 is a mature and open framework for modern, service oriented business applications. It substantially boosts developer productivity and is simple to learn.

This Repository Eclipse Scout RT contains the source for the runtime components embedded in the applications build on top of the Eclipse Scout Framework.

Downloads

The content of this repository is build on the Eclipse infrastructure and the different versions are available on several [P2 Update Sites] 2.

The easiest way to start with Eclipse Scout is to download Eclipse for Scout Developers Eclipse for Scout Developers on the [Eclipse downloads page] 3.

Documentation & Links

  • [Eclipse Scout Wiki] 4
  • [Eclipse Scout Forum] 5
  • [Eclipse Bugzilla] 6 (Product=Scout; Component=Scout)

Contribution Guidelines

We welcome any kind of contributions (Bug report, documentation, code contribution...). Please read the [Eclipse Scout Contribution page] 7 to know more about it.

The contribution process of Eclipse Scout is hosted on tools deployed by the Eclipse Foundation (involing [Bugzilla] 6, Gerrit, Hudson, MediaWiki...).

External tools like the GitHub tracker and pull requests are not supported.

Get in Touch

To get in touch with the Eclipse Scout community, please open a thread in the [Eclipse Scout Forum] 5 or send a mail to [our mailing list] 8: scout-dev@eclipse.org

License

[Eclipse Public License (EPL) v1.0] 9