https://bugs.kde.org/show_bug.cgi?id=528934

            Bug ID: 528934
           Summary: Plasma 6.8: Release announcement preview fails with
                    InsecureRedirectError (11) due to HTTPS-to-HTTP
                    redirect
    Classification: Applications
           Product: plasma-welcome
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

Created attachment 198531
  --> https://bugs.kde.org/attachment.cgi?id=198531&action=edit
Plasma 6.8 welcome screen with missing preview

DESCRIPTION

I'm running Fedora 44 KDE, and recently updated Plasma from 6.7.x to 6.8.x,
through the KDE Discover software center. Upon reboot, a Plasma 6.8 welcome
screen was shown, but with an error message instead of a preview. See
attachment.

The cause seems to be a server-side HTTPS to HTTP redirect, and the welcome app
rejects HTTP.

STEPS TO REPRODUCE

1. On Fedora 44 KDE with Plasma 6.7.x, update Plasma via Discover
2. Reboot
3. Plasma 6.8 welcome screen is shown with the error

Or later in a terminal: `plasma-welcome --post-update` to launch the welcome
screen again.

Or to just reproduce the HTTPS to HTTP redirect: `curl -IL
https://kde.org/announcements/plasma/6/6.8.0`


OBSERVED RESULT

See attached screenshot.

Or in the terminal:

```
$ plasma-welcome --post-update
org.kde.plasma.welcome: Fetching announcement for preview with URL
"https://kde.org/en/announcements/plasma/6/6.8.0/";
org.kde.plasma.welcome: Failed to get announcement preview: 11 "Insecure
redirect"
```

And for the redirect:

```
$ curl -IL https://kde.org/announcements/plasma/6/6.8.0
HTTP/2 301
location: http://kde.org/announcements/plasma/6/6.8.0/
...

HTTP/1.1 308 Permanent Redirect
Location: https://kde.org/announcements/plasma/6/6.8.0/
...

HTTP/2 200
...
```

(The first 301 redirect is to HTTP)

EXPECTED RESULT

I expected no redirect from HTTPS to HTTP, so the welcome screen would fetch
the preview from the HTTPS URL and show it without errors.

SOFTWARE/OS VERSIONS

```
$ kinfo
Operating System: Fedora Linux 44
KDE Plasma Version: 6.8.3
KDE Frameworks Version: 6.32.0
Qt Version: 6.11.2
...
```


ADDITIONAL INFORMATION

Another option would be to change the welcome screen to accept HTTP, but I
think it's better to remove the server side redirect from HTTPS to HTTP
instead.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to