Update the list of safe extensions #157
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The purpose of the extensions branch, and of this PR, is to add any missing entries to the list of "safe" file extensions.
Safe file extensions allow hyperlinks to be opened without asking for user confirmation.
Before this PR, the following extensions are considered safe:
1 123 602 aif aifc asf asx au avi bmp cgm csv dbf dib dif doc docm docx dot dotm dotx dxf emf eps fdf flac gif htm html jfif jif jpe jpeg jpg m1a m3u m4a met mid midi mml moov mov movie mp2 mp3 mpa mpe mpeg mpg odb odf odg odm odp ods odt ogg otg oth otp ots ott pbm pbm pcd pcd pct pcx pcx pdb pdf pgm pict png pot potm potx ppm pps ppt pptm pptx psd psw pxl qt ra ram ras rm rtf sda sdc sdd sdp sds sdw sgf sgl sgv shtml slk smf stc std sti stw svg svm sxc sxd sxg sxi sxm sxp sxw text tga tif tiff txt uof uop uos uot vor wav wb2 wk1 wks wmf wpl xbm xhp xhp xhtml xlc xlm xls xlsb xlsm xlsx xlt xltm xltx xlw xml xpm
The first commit adds mp4 to the above list.