NCIOCPL / r4r-api

API to support the Resources for Researchers application
0 stars 2 forks source link

index.html loads the petstore swagger document instead of R4R #10

Closed blairlearn closed 1 year ago

blairlearn commented 3 years ago

Issue description

Accessing /r4r/v1/index.html leads to an error message as the page attempts to load the sample swagger document from http://petstore.swagger.io instead of the one for R4R. The error occurs because in addition to being the wrong swagger document, it's also being loaded over HTTP onto an HTTPS page.

ESTIMATE TBD

Steps to reproduce the issue

  1. Navigate to https://webapis.cancer.gov/r4r/v1/index.html

What's the expected result?

What's the actual result?

Additional details / screenshot

Related Tickets

blairlearn commented 3 years ago

This is flagged as a medium security vulnerability.

blairlearn commented 1 year ago

Fixed in 55f873390118c34edfedcc16182472709c3b1ea1