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

feat: improve checking of data URLs #1412

Merged
merged 1 commit into from
Dec 6, 2022
Merged

Commits on Nov 17, 2022

  1. feat: improve checking of data URLs

    This commit introduces the following checks:
    
    - `RSC-029`(new): check that `data` URLs are not used when they would result in a
      top-level browsing context
    - check `data` URLs for foreign resource restrictions (fallbacks)
    
    An OPFItem instance can now represent a manifest item defined as a
    data URL. A `hasDataURL()` method will  tell if this is the case.
    
    Fix #1238, fix #1239.
    rdeltour committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    cbc0b2a View commit details
    Browse the repository at this point in the history