Opened 2 years ago

Closed 2 years ago

#2961 closed Bug (fixed)

archive.sh and archive.php are brokenn with force_ssl

Reported by: skrude Owned by:
Priority: major Milestone: 1.7.x - Piwik 1.7.1
Component: Core Keywords:
Cc: Sensitive: no

Description

With force_ssl set, archive.sh and archive.php do not work. IMHO FrontController.php is trying to redirect (which is wrong when called in CLI mode) and should be patched:

259c259,260
<                               && !Piwik::isHttps())
---
>                               && !Piwik::isHttps()
>                               && !Piwik_Common::isPhpCliMode())

Change History (2)

comment:1 Changed 2 years ago by matt (mattab)

  • Priority changed from normal to major

Thanks for the report. Also reported in forum post

comment:2 Changed 2 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [5883]) Fixes #2961

Note: See TracTickets for help on using tickets.