qutebrowser/doc
Florian Bruhin 0b27779c9d Allow null initiator for qute:// URLs on Qt 5.11
Before Qt 5.11.2, for unique origins, we always got QUrl() and thus passed it
through.

With Qt 5.11.2, only missing origins (browser-initiated requests) get an empty
initiator, while unique origins get QUrl("null"):
https://codereview.qt-project.org/#/c/234849/
https://bugreports.qt.io/browse/QTBUG-69372

In theory, those should be locked down (as an unique origin is e.g. a sandboxed
iframe) and never have access to any other content.

However, thanks to a Qt bug, XHR on qute:// pages has QUrl("null") as origin as
long as the URL scheme is not registered. We can only do the registering once
Qt 5.12 is out.

Since unique origins were effectively already allowed on Qt 5.11.0/.1, we pass
them through here as well until Qt 5.12.

See #4198
2018-09-07 12:25:07 +02:00
..
help Merge branch 'blacklist-history' 2018-09-04 22:19:52 +02:00
img Fix wrong number in cheatsheet 2018-03-14 09:06:04 +01:00
backers.asciidoc Update backers file 2018-02-20 08:52:16 +01:00
changelog.asciidoc Allow null initiator for qute:// URLs on Qt 5.11 2018-09-07 12:25:07 +02:00
contributing.asciidoc Revert "Add exam comments to contributing docs" 2018-09-05 20:39:41 +02:00
faq.asciidoc Fix and https-ify some URLs 2018-08-27 23:31:13 +02:00
install.asciidoc Add instructions to link against OpenSSL 1.0 on Ubuntu 2018-08-23 18:09:32 +02:00
quickstart.asciidoc Fix keybinding cheatsheet URLs in quickstart.asciidoc 2018-03-11 08:30:41 +01:00
qutebrowser.1.asciidoc Implement Qt 5.11 devtools support 2018-06-11 11:07:14 +02:00
stacktrace.asciidoc Various spelling fixes 2018-02-04 21:30:59 +01:00
userscripts.asciidoc Missing colon 2018-08-27 23:03:49 -03:00