SSL Proxy and non-SSL Paths

Hi,

we have the following configuration:
Piwik runs on a non-SSL internal Server (Apache). For external access we use a reverse proxy with SSL (Apache). We now run into an error, that some paths redirect us to non-SSL paths (https -> http).
That includes the daily bubbles on all widgets and the new OptOut - Feature Test (Settings/General Settings).
We already set the reverse_proxy flag in the global.ini.php.

If tested this on Firefox 3.6.8, IE 8 and Chrome 8.

Can you try changing core/ViewDataTable/GenerateGraphData/ChartEvolution.php from:


                                $link = Piwik_Url::getCurrentUrlWithoutQueryString() .
                                                '?' .
                                                Piwik_Url::getQueryStringFromParameters( array(
                                                        'module' => 'CoreHome',
                                                        'action' => 'index',
                                                ) + $parameters)
                                                . $hash;

to use a relative URL:


                                $link = 'index.php?' .
                                                Piwik_Url::getQueryStringFromParameters( array(
                                                        'module' => 'CoreHome',
                                                        'action' => 'index',
                                                ) + $parameters)
                                                . $hash;

The optOut link appears to already be a relative URL in trunk.

Thank you. This is working.
Should I open an issue, to get this thing done on the next release?

tobr