Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-1308

Restore ability to use HTML in login_message

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Web Interface
    • None

    Description

      Revision 6273 added escape_html() to login_message, removing our ability to use HTML in the login warning.

      Please revert this change:

      @@-83,7 +83,7@@

      if (isset($config['login_message']))

      { - echo('<div class=row><div class="col-md-6 col-md-offset-3"><div style="margin-top: 10px;text-align: center; font-weight: bold; color: #cc0000;">'.$config['login_message'].'</div></div></div>'); + echo('<div class=row><div class="col-md-6 col-md-offset-3"><div style="margin-top: 10px;text-align: center; font-weight: bold; color: #cc0000;">'.escape_html($config['login_message']).'</div></div></div>'); }

      ?>
      <script type="text/javascript">

      Attachments

        Issue Links

          Activity

            [OBS-1308] Restore ability to use HTML in login_message
            davidc David Croft made changes -
            Link New: This issue is cloned by OBSERVIUM-1882 [ OBSERVIUM-1882 ]
            landy Mike Stupalov made changes -
            Workflow Original: classic default workflow [ 12193 ] New: Observium workflow [ 14500 ]
            adama Adam Armstrong made changes -
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            adama Adam Armstrong made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]

            Fixed in r6604.

            adama Adam Armstrong added a comment - Fixed in r6604.
            davidc David Croft created issue -

            People

              adama Adam Armstrong
              davidc David Croft
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: