This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validates CSS path before loading the file (#155)
* Prevent security concern from preload media option * Update yarn.lock * Validates CSS path before loading the file * Modify isSubpath logic
- Loading branch information
1 parent
6a100b7
commit 2e8cbe8
Showing
5 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<html> | ||
<link> | ||
<title>Testing</title> | ||
<link rel="stylesheet" href="styles.css"></link> | ||
<link rel="stylesheet" href="../../../../../style3.css"></link> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<header> | ||
<div class="banner">Lorem ipsum dolor sit amet</div> | ||
</header> | ||
</div> | ||
<div class="" data-critters-container> | ||
<h1>Hello World!</h1> | ||
<p>This is a paragraph</p> | ||
<input class="input-field" /> | ||
<div class="contents"></div> | ||
<div class="selected active"></div> | ||
</div> | ||
<footer class=""></footer> | ||
</body> | ||
</html> |