Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21993

Cookies with * value cause an syntax error

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 2013.09
    • Caching

    Description

      I use Piwik as web analytics application on my site. This application create a cookie key with a * character. When eZ Publish save this Cookie in a stash cache file, the site is broken.

      example in phperror.log

      PHP Parse error: syntax error, unexpected '*' in /ezpublish/cache/prod/stash/0fea6a13c52b4d47/25368f24b045ca84/ea89d5a5fa57ab5b/b4f9262a31f00ac7.php on line 2

      b4f9262a31f00ac7.php

      <?php
      /* Cachekey: cache/ez_user_hash/_pk_id.190.52a7=67f08ff5ed0cf27d.1384950943.2.1385022003.1384952298.; ezsessid86af0f3a92ebf2d522cb0a6948f16d27=0dd9b3f52482a8884faffefaeb395e90; is_logged_in=true; _pk_cvar.190.52a7=%7b%221%22%3a%5b%22user%22%2c%22admin%22%5d%7d; _pk_ses.190.52a7=*/ */
      /* Type: array */
      $expiration = 1385022546;
      $data = array();

      /* Child Type: string */
      $data['return'] = "ec35701ab7f34b037ee156a397bfb2ed255acc0c";

      /* Child Type: integer */
      $data['createdOn'] = 1385022005;

      Attachments

        Activity

          People

            Unassigned Unassigned
            blankse blankse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: