Skip to content

Commit

Permalink
Merge pull request #255 from cjba7/cjba7-add-fax-to-acceptable-protocols
Browse files Browse the repository at this point in the history
Added "fax" to acceptable protocols based on rfc2806.
  • Loading branch information
flavorjones authored Jan 10, 2023
2 parents 6073ec0 + b0e6f7c commit 01305b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

### Features

* Allow SVG attributes `color-profile`, `cursor`, `filter`, `marker`, and `mask`.
* Allow SVG elements `altGlyph`, `cursor`, `feImage`, `pattern`, and `tref`.
* Allow SVG attributes `color-profile`, `cursor`, `filter`, `marker`, and `mask`. [[#246](https://github.com/flavorjones/loofah/issues/246)]
* Allow SVG elements `altGlyph`, `cursor`, `feImage`, `pattern`, and `tref`. [[#246](https://github.com/flavorjones/loofah/issues/246)]
* Allow protovols `fax` and `modem`. [[#255](https://github.com/flavorjones/loofah/issues/255)] (Thanks, [@cjba7](https://github.com/cjba7)!)


## 2.19.1 / 2022-12-13
Expand Down
2 changes: 2 additions & 0 deletions lib/loofah/html5/safelist.rb
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,7 @@ module SafeList
"callto",
"data",
"ed2k",
"fax",
"feed",
"ftp",
"gopher",
Expand All @@ -990,6 +991,7 @@ module SafeList
"irc",
"line",
"mailto",
"modem",
"news",
"nntp",
"rsync",
Expand Down

0 comments on commit 01305b6

Please sign in to comment.