)]}'
{
  "commit": "2a8ff915c4c3d86abcc0c41ed9842cc9f5564f74",
  "tree": "6da7cedc7187fd2fc79e79b9a264c0d01737c764",
  "parents": [
    "3496aee26f877359c0fe7e72a29dfdf18394e664"
  ],
  "author": {
    "name": "reiern70",
    "email": "reiern70@gmail.com",
    "time": "Thu Nov 12 18:08:16 2026 -0500"
  },
  "committer": {
    "name": "reiern70",
    "email": "reiern70@gmail.com",
    "time": "Thu Nov 12 20:43:44 2026 -0500"
  },
  "message": "Render no pattern attribute for a reversed PatternValidator\n\nThe HTML5Attributes behavior copied the pattern of every PatternValidator\nof a text component into the HTML pattern attribute, ignoring\nsetReverse(true). A reversed validator rejects input that matches the\npattern, the attribute makes the browser reject input that does not, so\nno non-empty value passed both: the browser blocked the submit of a value\nthe server would accept, and the server rejected the rest.\n\nA reversed validator now renders no pattern attribute, and its input is\nchecked on the server only. An HTML pattern cannot reliably express \"must\nnot match\" for an arbitrary Java pattern. PatternValidator gets a public\nisReverse() getter for the renderer, a method added to the API with no\nchange to existing members. An application that adds HTML5Attributes to a\nfield with a reversed validator sees the field submit again, with the\nserver reporting matching input as before. Without HTML5Attributes, or\nfor a validator that is not reversed, nothing changes.\n\nGitHub issue #1886\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "de433edc1af7438cd3f59bad75244289517fe33f",
      "old_mode": 33188,
      "old_path": "wicket-core-tests/src/test/java/org/apache/wicket/markup/html/form/TextFieldTest.java",
      "new_id": "20e0afc13dac070eee396bffd32bfd9a49079188",
      "new_mode": 33188,
      "new_path": "wicket-core-tests/src/test/java/org/apache/wicket/markup/html/form/TextFieldTest.java"
    },
    {
      "type": "modify",
      "old_id": "5d726861540d9762f96ee619a1465734721db071",
      "old_mode": 33188,
      "old_path": "wicket-core/src/main/java/org/apache/wicket/markup/html/HTML5Attributes.java",
      "new_id": "f50a1386b2aeee603fc624bd8e7debea6abc390f",
      "new_mode": 33188,
      "new_path": "wicket-core/src/main/java/org/apache/wicket/markup/html/HTML5Attributes.java"
    },
    {
      "type": "modify",
      "old_id": "d0dca7a5e59d9f1f58c22126b2299a8b64b03f7b",
      "old_mode": 33188,
      "old_path": "wicket-core/src/main/java/org/apache/wicket/validation/validator/PatternValidator.java",
      "new_id": "335cf736e08cfa060e25bd871f0e8e5de4ffa66e",
      "new_mode": 33188,
      "new_path": "wicket-core/src/main/java/org/apache/wicket/validation/validator/PatternValidator.java"
    }
  ]
}
