Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41165

Ignore invalid left and right params in page diff URLs

    XMLWordPrintable

    Details

    • 19 status:
      Resolved
    • 12 status:
      Please Merge
    • Test Plan:
      Hide

      Check for no regressions in wiki history URLs

      Check that history URLs with invalid left= or right= params (e.g. left=hello) do not generate bug reports.

      Show
      Check for no regressions in wiki history URLs Check that history URLs with invalid left= or right= params (e.g. left=hello) do not generate bug reports.

      Description

      For rwiki URLs like

      pageName=...&action=diff&&left=X&right=Y

      if you provide invalid (unparseable) values for the left and/or right params, you get a bug report from a NumberFormatException, NullPointerException, or illegalArgumentException.

      For some reason, search engines and/or vulnerability testing scripts seem to throw random values in there (for public wiki pages). We should just ignore these rather than generate a bug report.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                smarquard Stephen Marquard
                Reporter:
                smarquard Stephen Marquard
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code