Skip to content

Regression - #18: allow alternate mode to use http:/ #126

@mikenor

Description

@mikenor

I am trying to use alternate mode to do a network install of an old Red Hat Linux. The initial download that the installer performs does succeed (after I changed to UseMsHttpApi=yes), but on the second download further on in the process, the installer tries to "correct" the // in the path to / and then WebOne fails to parse it as being alternate mode.

26.05.2024 12:20:52.979+261877  >GET /https:/legacy.redhat.com/pub/redhat/linux/7.2/en/os/i386/RedHat/base/hdlist (192.168.1.142)
26.05.2024 12:20:52.979+6245134  A error has been catched: System.UriFormatException: Invalid URI: The Authority/Host could not be parsed.
{0}         at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
{0}         at System.Uri..ctor(String uriString)
{0}         at WebOne.HttpTransit.ProcessTransit()
         Please report to author.
26.05.2024 12:20:52.979+6249925 <Return code 500.
26.05.2024 12:20:52.979+6252639 <Done.

Supposedly, the ability to use single / instead of // was addressed in #18 but there seems to have been a regression since then. Could this functionality be restored?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions