File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 151
151
- Fix bug in parsing events that contain html tags (e.g. in their alias
152
152
field). [#2423]
153
153
154
+ sdss
155
+ ^^^^
156
+
157
+ - Switching to https to avoid issues originating in relying on server side
158
+ redirects. [#2654]
159
+
154
160
simbad
155
161
^^^^^^
156
162
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class Conf(_config.ConfigNamespace):
11
11
Configuration parameters for `astroquery.sdss`.
12
12
"""
13
13
skyserver_baseurl = _config .ConfigItem (
14
- 'http ://skyserver.sdss.org' ,
14
+ 'https ://skyserver.sdss.org' ,
15
15
'Base URL for catalog-related queries like SQL and Cross-ID.' )
16
16
sas_baseurl = _config .ConfigItem (
17
17
'https://data.sdss.org/sas' ,
Original file line number Diff line number Diff line change @@ -123,25 +123,25 @@ def data_path(filename):
123
123
# interfaces are supported for DR11."
124
124
def url_tester (data_release ):
125
125
if data_release < 10 :
126
- baseurl = 'http ://skyserver.sdss.org/dr{}/en/tools/search/x_sql.asp'
126
+ baseurl = 'https ://skyserver.sdss.org/dr{}/en/tools/search/x_sql.asp'
127
127
if data_release == 10 :
128
- baseurl = 'http ://skyserver.sdss.org/dr{}/en/tools/search/x_sql.aspx'
128
+ baseurl = 'https ://skyserver.sdss.org/dr{}/en/tools/search/x_sql.aspx'
129
129
if data_release == 11 :
130
130
return
131
131
if data_release >= 12 :
132
- baseurl = 'http ://skyserver.sdss.org/dr{}/en/tools/search/x_results.aspx'
132
+ baseurl = 'https ://skyserver.sdss.org/dr{}/en/tools/search/x_results.aspx'
133
133
assert sdss .SDSS ._last_url == baseurl .format (data_release )
134
134
135
135
136
136
def url_tester_crossid (data_release ):
137
137
if data_release < 10 :
138
- baseurl = 'http ://skyserver.sdss.org/dr{}/en/tools/crossid/x_crossid.asp'
138
+ baseurl = 'https ://skyserver.sdss.org/dr{}/en/tools/crossid/x_crossid.asp'
139
139
if data_release == 10 :
140
- baseurl = 'http ://skyserver.sdss.org/dr{}/en/tools/crossid/x_crossid.aspx'
140
+ baseurl = 'https ://skyserver.sdss.org/dr{}/en/tools/crossid/x_crossid.aspx'
141
141
if data_release == 11 :
142
142
return
143
143
if data_release >= 12 :
144
- baseurl = 'http ://skyserver.sdss.org/dr{}/en/tools/search/X_Results.aspx'
144
+ baseurl = 'https ://skyserver.sdss.org/dr{}/en/tools/search/X_Results.aspx'
145
145
assert sdss .SDSS ._last_url == baseurl .format (data_release )
146
146
147
147
You can’t perform that action at this time.
0 commit comments