gbv/jskos-proxy

External uri's not working for single records

Closed this issue · 2 comments

This is a nasty edge case. It's not because the URI is external but because https://obersuperdatensatz23.gbv.de is normalized to URL https://obersuperdatensatz23.gbv.de/ by Node URL.

Waah, sounds ugly. But https://obersuperdatensatz23.gbv.de is a valid URI.
The URL parameter is usually encoded. Above is only in standard form.
Why is Node normalizing an encoded url here? It should actually go into the parameter without any manipulation.

Ok - does not matter. There will never be a URI ending with just the tld. I changed to https://uri.gbv.de/terminology/?uri=https://obersuperdatensatz23.gbv.de/123 and that works..