Commit c7666460 authored by Akarsh Simha's avatar Akarsh Simha

Update DSS URLs to https

parent e69f488f
Pipeline #48393 passed with stages
in 65 minutes and 15 seconds
......@@ -136,7 +136,7 @@ QString KSDssDownloader::getDSSURL(const dms &ra, const dms &dec, float width, f
QString version = version_.toLower();
QString type = type_.toLower();
QString URLprefix = QString("http://archive.stsci.edu/cgi-bin/dss_search?v=%1&").arg(version);
QString URLprefix = QString("https://archive.stsci.edu/cgi-bin/dss_search?v=%1&").arg(version);
QString URLsuffix = QString("&e=J2000&f=%1&c=none&fov=NONE").arg(type);
char decsgn = (dec.Degrees() < 0.0) ? '-' : '+';
......
......@@ -117,7 +117,7 @@ QString getDSSURL(const SkyPoint *const p)
QString getDSSURL(const dms &ra, const dms &dec, float width, float height, const QString &type)
{
const QString URLprefix("http://archive.stsci.edu/cgi-bin/dss_search?");
const QString URLprefix("https://archive.stsci.edu/cgi-bin/dss_search?");
QString URLsuffix = QString("&e=J2000&f=%1&c=none&fov=NONE").arg(type);
const double dss_default_size = Options::defaultDSSImageSize();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment