Skip to content

Is LoadDocumentCallback allowed to return a relative URL as documentUrl? #723

Description

@mcb5637

3) Set documentUrl to the location of the retrieved resource considering redirections is not clear about this (at least to me). I could also not find any other mention of base resolution that is done afterwards.
Thinking about it suggests that it should not be relative (because a redirection chain http://foo/bar -> http://bar/foo -> /bar would loose that inbetween step and therefore lead to a wrong result if just the last relative url would have been returned).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions