cc-archive / cc.api

Legacy API to integrate the Creative Commons licensing engine into third party applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

license test API doesn't handle https://

tvol opened this issue · comments

Dunno where this issue belongs, but sending along here a note I received from Mark at Internet Archive who asked me to pass on to the relevant people at CC...

–––––––––

The call to the license information API with an HTTPS license:
https://api.creativecommons.org/rest/dev/details?license-uri=https://creativecommons.org/licenses/by-nc-sa/2.0/ returns

invaliduri
Invalid license uri.

Testing an HTTP license returns the correct information:
https://api.creativecommons.org/rest/dev/details?license-uri=http://creativecommons.org/licenses/by-nc-sa/2.0/

we've worked around it, but please fix if possible. Handling both HTTP and HTTPS might be ideal.

–––––––

@tvol I'll put this in our next sprint starting Tuesday, I assume you need this fixed before the event on the 25th?

@kgodey no it's unrelated. i just got to chatting with the guy and mentioned i worked for CC and he said "oh i've got something for you!"

oh okay, thanks. I'm not going to definitely prioritize getting it done next week then.

🛑 As of 2023-09-27, this project was deprecated by the new CC Legal Tools
(cc-legal-tools-app, cc-legal-tools-data).