usnistgov / SpectrumBrowser

ITL
12 stars 11 forks source link

when generating the account path for users to click on use protocol, not the request scheme #148

Closed jkubNTIA closed 9 years ago

jkubNTIA commented 9 years ago

When generating account path for users to click on, even though the website is running via http, the user needs to have the protocol from config (e.g. https) in the url to click on, e.g. in flaskr.py, instead of: p = urlparse.urlparse(request.url) urlPrefix = str(p.scheme) + "://" + str(p.netloc)

I need to change p.scheme to be the protocol from Config.py.

jkubNTIA commented 9 years ago

done