owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.4k stars 667 forks source link

A server error page should not be rendered with white text #7478

Open jnweiger opened 5 years ago

jnweiger commented 5 years ago

Seen with https://github.com/owncloud/client/issues/7475

When I try to connect to a server with http port 80), but the server only supports https (port 443), There may be an error page that has a style sheet like e.g. this:

image

When the desktop client hits this, It is rendered in an error popup like this:

image

We should prevent text in white, or light gray on gray background.

guruz commented 5 years ago

We should cut away all links, styles etc. See https://github.com/owncloud/client/pull/6914