Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dc:source element caused a NullPointerException #1523

Merged
merged 1 commit into from
Jul 6, 2023

Commits on Jul 5, 2023

  1. fix: dc:source element caused a NullPointerException

    The checks related to the HTML `source` element were run regardless of
    the element namespace, and with lack of protective coding. This caused
    an NPE when the markup contained `dc:source` elements.
    
    This commit fixes the situation by:
    - only applying `OPSHandler30` checks for the elements in the target
      namespace
    - returning early when the `source` element preconditions aren't met,
      as these preconditions are checked by schema
    
    Fix #1514
    rdeltour committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    c15e4ea View commit details
    Browse the repository at this point in the history