Opened 10 years ago

Closed 9 years ago

#706 closed defect (fixed)

Always produce correct URLs at /restxml/

Reported by: Sander Maijers Owned by: Sander Maijers
Priority: major Milestone:
Component: Centre Registry Version:
Keywords: Cc: emanuel.dima@uni-tuebingen.de, Menzo Windhouwer, Marie Hinrichs, keesjan.vandelooij@mpi.nl, Sander Maijers

Description

Some software may try to use the (redundant) URLs listed in the XML produced by a GET to
restxml/

Currently, those for https://centres-staging.clarin.eu:4430/ are hardcoded to e.g.:
https://centres.clarin.eu/restxml/1
instead of being:
https://centres-staging.clarin.eu:4430/restxml/1

Make the prefix to /restxml/ (at minimum) configurable

Change History (3)

comment:1 Changed 10 years ago by DefaultCC Plugin

Cc: Sander Maijers added

comment:2 Changed 10 years ago by Sander Maijers

Component: AAICentre Registry
Status: newaccepted

comment:3 Changed 9 years ago by Sander Maijers

Resolution: fixed
Status: acceptedclosed

Now using a Django-supplied base URL prefix. Also a test that follows the links and checks HTTP response code.

Note: See TracTickets for help on using tickets.