camptocamp / cgxp

22 stars 22 forks source link

Permalinks broken with HTTPS #1087

Closed rbovard closed 6 years ago

rbovard commented 8 years ago

If a non HTTPS permalink is opened on a HTTPS server, the permalink is broken (lines are gone, fill color is black, maybe more...).

To reproduce:

The permalink is broken.

image

image

It seems that some extra chars (52) are added with auto redirect to HTTPS.

OK: rl_features=Fl(hnv3F1gkv_1k7Fgzu-~~strokeColor*%252  399CC00%2  7strokeWidth*1)a(gz3Dh56_h9g-1bPh2h-zvQh3v*gta-heCzrNgm5F1mu-~~fillColor*%252  33366FF%2  7strokeColor*%252  33366FF%2  7strokeWidth*1)
KO: rl_features=Fl(hnv3F1gkv_1k7Fgzu-~~strokeColor*%25252399CC00%2527strokeWidth*1)a(gz3Dh56_h9g-1bPh2h-zvQh3v*gta-heCzrNgm5F1mu-~~fillColor*%2525233366FF%2527strokeColor*%2525233366FF%2527strokeWidth*1)
sbrunner commented 8 years ago

Is it solved ? As I remember it's in the apache configuration ...

rbovard commented 8 years ago

It seems (I reproduced my steps and the permalink is now OK)

Don't forget to document that, I think people who switch to HTTPS may have this issue.