jieter / jieter/leaflet-headless

Prevent accidental file:// usage

Open
#8 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
118
Forks
34
PR merge metrics
No merged PRs in 30d

Description

In some cases when this module is used with unsanitized data (possibly by accident), the ability to access "file://" is a major security issue. Please add a flag to explicitly permit file:// access, which IMO should be `false` by default. Also, please provide for an easy way to inject my own URL sanitization function right before that URL is being used. Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.