Bug #1765

No https in X-Storage-Url

Added by Antony Chazapis about 11 years ago. Updated almost 10 years ago.

Status:Closed Start date:12/08/2011
Priority:Medium Due date:
Assignee:Antony Chazapis % Done:

0%

Category:Pithos Spent time: -
Target version:-

Description

This should return https://... (both in development and production):

imac:pithos chazapis$ curl -X GET -D - -H "X-Auth-User: chazapis" -H "X-Auth-Key: asdf" -k https://pithos.dev.grnet.gr/v1
HTTP/1.1 204 NO CONTENT
Date: Thu, 08 Dec 2011 10:35:06 GMT
Server: gunicorn/0.13.1
X-Storage-Url: http://pithos.dev.grnet.gr/v1/chazapis
...

Associated revisions

Revision 1e20eb36
Added by Antony Chazapis about 11 years ago

Replace the request's is_secure call with one that checks for the X-Forwarded-Protocol header.

Refs #1765

Revision 1e20eb36
Added by Antony Chazapis about 11 years ago

Replace the request's is_secure call with one that checks for the X-Forwarded-Protocol header.

Refs #1765

History

#1 Updated by Antony Chazapis about 11 years ago

  • Status changed from New to Closed
  • Target version set to 0.8.2

#2 Updated by Vangelis Koukis almost 10 years ago

  • Project changed from Pithos to Synnefo
  • Target version deleted (0.8.2)

#3 Updated by Vangelis Koukis almost 10 years ago

  • Category set to Pithos

Also available in: Atom PDF