Opened 8 years ago

Last modified 6 years 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:
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 by vidrep, 6 years ago

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

comment:3 by pulkomandy, 6 years ago

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.