Skip to content

audo-discovery does not property resolve absolute url paths #4

@richard-jones

Description

@richard-jones

[Migrated from https://bitbucket.org/richardjones/python-sword2/issue/7/audo-discovery-does-not-property-resolve]

Given /swordv2/servicedocument in the link of a server home page for the service document, the auto-discovery code will append the provided absolute path to the base path of the server, not the base url.

E.g.

http://www.myrepo.ac.uk/repository

gives

http://www.myrepo.ac.uk/repository/swordv2/servicedocument

rather than the correct

http://www.myrepo.ac.uk/swordv2/servicedocument

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions