Skip to content

Add option to allow XMLHttpRequest for local files from the same directory and subdirectories #808

Description

@tntim96

HTML Unit 4.2.0 introduced a security fix:
https://htmlunit.sourceforge.io/changes-report.html#a4.2.0
"Prevent XMLHttpRequest from loading local resource for security reason."

Most browsers do this by default but allow an override. Can an override option please be added that allows for local files from the same directory and sub-directories to be loaded via XMLHttpRequest?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions