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

updateviewcount.php doesn't work with view parameters

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2012.5
    • Cronjobs, Legacy stack
    • None

    Description

      Just add a view parameter to any node url like /(offset)/10 and the updateviewcount cronjob doesnt't recognize the url anymore.

      Replace
      $url = preg_replace( "/?.*/", "", $url);

      with
      $url = preg_replace( "/?.|(./", "", $url);

      and it works as expected.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: