Opened 2 years ago

Last modified 9 months ago

#13083 new bug

[WebPositive] downloaded patch from github is html encoded

Reported by: korli Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

hrev50701 x86_64

for instance, navigate to: https://patch-diff.githubusercontent.com/raw/haikuports/haikuports/pull/873.patch

Save the patch using "Save page as" or Alt+S. The saved file contains:

lib:libreadline >= 7

The same file downloaded with wget is correct (with >= instead of >=).

Change History (3)

comment:1 Changed 9 months ago by vidrep

Dead link : "Sorry, this diff is unavailable."

comment:3 Changed 9 months ago by pulkomandy

I don't think this has been fixed anyways. The issue here is that "Save As" will convert HTML to "multipart HTML" so it can embed resources (images, CSS, ...) in a single file.

We should skip this and save the file directly when the MIME type is not an HTML one, I guess.

Note: See TracTickets for help on using tickets.