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

Database credentials escape characters for double-quotes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.2, 4.3.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      When the blesta config file is written, and the database credentials are saved, special characters are escaped in php strings, like "$". However, the config uses single-quote strings rather than double-quote strings, so some special characters do not need to be escaped anymore, like "$". For example, an apostrophe, "'", should continue to be escaped.

      See https://www.blesta.com/forums/index.php?/topic/10948-v420-mysql-password-escaping-issue/

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              22/Feb/18

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 59 minutes
              59m

                Agile