Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2281

Accessing a plugin URL that doesn't exist returns an error rather than 404

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0-b1
    • Fix Version/s: 4.0.0-b4
    • Component/s: Plugins, Staff Interface
    • Labels:
      None

      Description

      Accessing a URL like ~/blesta/plugins/dstsh will return an error, disclosing the system path to ~/vendors/minphp/bridge/src/Lib/Dispatcher.php.

      Fatal error: Call to undefined method Plugins::preAction() in /var/www/public/blesta/public_html/vendors/minphp/bridge/src/Lib/Dispatcher.php on line 134
      Undefined variable: e

      Instead it should return a 404 error, similar to Blesta 3.x.

      Originally reported here - https://www.blesta.com/forums/index.php?/topic/7493-calling-an-existing-plugin-url-return-error/

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              7/Dec/16

              Agile