Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-60539

httpsreplace tools sets SQL debugging

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 3.4, 3.5
    • None
    • None
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MDL-60539-master
    • Hide
      1. Choose a lucky course
      2. Edit settings
      3. Set the following as it's summary:

        <img src="http://intentionally.unavailable/test.png"> <img src="http://download.moodle.org/unittest/test.jpg">
        

      4. Navigate to site admin -> Security -> HTTPS conversion tool
      5. Run the tool, tick the box, and go
        1. Confirm that you don't see SQL debugging as in attached screenshot
      Show
      Choose a lucky course Edit settings Set the following as it's summary: <img src="http://intentionally.unavailable/test.png"> <img src="http://download.moodle.org/unittest/test.jpg"> Navigate to site admin -> Security -> HTTPS conversion tool Run the tool, tick the box, and go Confirm that you don't see SQL debugging as in attached screenshot

    Description

      admin/tool/httpsreplace/classes/url_finder.php

              $DB->set_debug(true);
              $DB->replace_all_text($table, $column, $search, $replace);
              $DB->set_debug(false);
      

      This causes the SQL to be output at time of conversion.

      Attachments

        Issue Links

          Activity

            People

              dobedobedoh Andrew Lyons
              dobedobedoh Andrew Lyons
              Jake Dallimore Jake Dallimore
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: