SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-2994

Rule: Meta redirects should be avoided : <meta http-equiv="refresh">

    Details

    • Number of attachments :
      0

      Issue Links

        Activity

        Hide
        Dinesh Bolkensteyn added a comment -

        Done

        Show
        Dinesh Bolkensteyn added a comment - Done
        Hide
        Freddy Mallet added a comment -

        Works well Dinesh, could you just :

        • Update the code snippet to remove the misleading <!-- Compliant --> comment (RSPEC-1094 also updated)
        • Fix the rule description as at the beginning of the description the <meta http-equiv="refresh"> tag is not escaped and so not displayed
        • Activate the rule by default (sorry my mistake)
        Show
        Freddy Mallet added a comment - Works well Dinesh, could you just : Update the code snippet to remove the misleading <!-- Compliant --> comment (RSPEC-1094 also updated) Fix the rule description as at the beginning of the description the <meta http-equiv="refresh"> tag is not escaped and so not displayed Activate the rule by default (sorry my mistake)
        Hide
        Dinesh Bolkensteyn added a comment - - edited

        I'll enable the rules in Sonar way when working on http://jira.codehaus.org/browse/SONARPLUGINS-2998

        Show
        Dinesh Bolkensteyn added a comment - - edited I'll enable the rules in Sonar way when working on http://jira.codehaus.org/browse/SONARPLUGINS-2998
        Hide
        Dinesh Bolkensteyn added a comment - - edited

        Regarding the missing escape in the rule description: This really sucks, and is a recurring issue - Jira (at least our internal one) will display '<' as a '<' in rendering mode, so you can't directly put the escape in the ticket.

        And we can't simply copy&paste the description, because we need to manually add the HTML escapes, as well as convert the {code} into <pre> tags, the * into <ul> + <li>, and add some <code> tags so that Sonar will render the keywords/code differently.

        Show
        Dinesh Bolkensteyn added a comment - - edited Regarding the missing escape in the rule description: This really sucks, and is a recurring issue - Jira (at least our internal one) will display '<' as a '<' in rendering mode, so you can't directly put the escape in the ticket. And we can't simply copy&paste the description, because we need to manually add the HTML escapes, as well as convert the {code} into <pre> tags, the * into <ul> + <li>, and add some <code> tags so that Sonar will render the keywords/code differently.
        Hide
        Dinesh Bolkensteyn added a comment -

        And the description should now be fixed.

        Show
        Dinesh Bolkensteyn added a comment - And the description should now be fixed.
        Hide
        Dinesh Bolkensteyn added a comment - - edited

        As discussed, link to SONARPLUGINS-2998 added.

        Show
        Dinesh Bolkensteyn added a comment - - edited As discussed, link to SONARPLUGINS-2998 added.
        Hide
        Freddy Mallet added a comment -

        Manually tested !

        Show
        Freddy Mallet added a comment - Manually tested !

          People

          • Assignee:
            Dinesh Bolkensteyn
            Reporter:
            Freddy Mallet
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: