Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16550

Poor input validation of Class editor properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 11.3
    • None
    • None
    • Unknown

    Description

      Adding new properties to an class does not really validate the input and results most of the time in a "Failed: Bad Request" if one does stupid things, like

      • Try adding the same property twice
      • Including a special character like (), in the property name
      • Spaces are silently removed

       

      Interestingly, changing an existing property to contain non conforming characters reports the allowed characters in the property name as a warning at the bottom (same as "bad request"), e.g. the checks are already in place somewhere ...

      BTW: "Save & View" displays the error differently than "save" only (white page with the same/similar text as the warning at the bottom). "Save & View" will cause your changes to be lost though as going back will go the the previous state of the page ...

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbu@netsuccess.ch Beat Burgener
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: