Skip to content
  1. May 24, 2024
  2. May 23, 2024
  3. Jan 15, 2023
  4. Jan 02, 2023
  5. Jan 01, 2023
  6. Dec 17, 2022
  7. Nov 30, 2022
  8. Nov 22, 2022
  9. Nov 19, 2022
  10. Jun 01, 2022
  11. Dec 20, 2021
  12. Dec 11, 2021
  13. Nov 22, 2021
    • Chris Lamb's avatar
      Update changelog for 1.12.1-1 release · fb295639
      Chris Lamb authored
    • Chris Lamb's avatar
      Release version 1.12.1 · 3af3e28a
      Chris Lamb authored
      Gbp-Dch: ignore
      1.12.1
      3af3e28a
    • Chris Lamb's avatar
      Merge branch 'dont-fail-on-wrong-jar-extension' into 'master' · d1c896fd
      Chris Lamb authored
      Do not fail on JAR archives containing invalid members with a .jar extension
      
      See merge request !13
      d1c896fd
    • Jonas Witschel's avatar
      Do not fail on JAR archives containing invalid members with a .jar extension · 763f4f83
      Jonas Witschel authored
      _jar_normalize_member() in the JAR handler calls
      File::StripNondeterminism::handlers::zip::normalize_member for every archive
      member with a .jar extension. If the member is not a valid archive (e.g.
      because it is just an empty file), this leads to a hard failure "Reading ZIP
      archive failed" in the ZIP handler.
      
      To solve this, extend normalize_member() in the ZIP file to detect the file
      type if no $normalizer is explicitly specified. This uses
      get_normalizer_for_file(), which looks at both the file extension and the
      "file" command to detect the type more accurately. Therefore we need to
      preserve the name of the extracted temporary file instead of just calling it
      "member".
      
      With this change in place, we can leave the normalizer for files with a .jar
      extension unspecified in _jar_normalize_member(). This way if the file is not
      an archive, it will get skipped by get_normalizer_for_file() and a warning will
      be printed instead of a fatal error.
      763f4f83
  14. Oct 21, 2021
  15. Oct 13, 2021
  16. Sep 17, 2021
  17. May 07, 2021
  18. May 04, 2021
  19. Feb 05, 2021
  20. Jan 18, 2021
Loading