Hi Christoph,

Am 29.01.2010 um 18:00 schrieb [email protected]:

I activated the configuration option:
$config['site']['ssl'] = 'always';
But there are many links to image and css which uses http:// instead of https://
Can u help me to get this fixed?


we use Status.net (v0.8) over ssl too. Attached you will find a little patch, that produces image and theme(css) links without domain name (beginning with a leading /). I simply took out the code to fill in the Domain-name and protocoll in lib/theme.php function theme_path

With this patch applied, status.net over ssl works fine.
There are still some minor problems with avatar pictures (they are still stored with the full URL in the database, so if a user uploads it via htto://domain you are not able to see it over https://domain). But we don't bother about it.


(btw: in my opinion it is not meaningful to reference profile images and other information with domain name and protocol in the database, but Evan and I already discussed that here several weeks ago...)


Yours Jo Seibert
--

//SEIBERT/MEDIA GmbH / Rheingau Palais
  Söhnleinstraße 8 / 65201 Wiesbaden
  GF: J.Seibert und M.Seibert / AG Wiesbaden: HRB11502

  T.+49-611-20570-22 / F.+49-611-20570-70
  [email protected]
  www.seibert-media.net / http://blog.seibert-media.net



Attachment: theme_url.patch
Description: Binary data

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to