Skip to content

Commit

Permalink
SAK-50555 Kernel antisamy whitelist SharePoint URLs (#12938)
Browse files Browse the repository at this point in the history
  • Loading branch information
V100X authored Oct 1, 2024
1 parent df0e696 commit 68e55b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
Add in your site (e.g. "new.site.host.com/path": with escaped ".": "new\.site\.host\.com/path|"
Like shown here: (new\.site\.host\.com/path|download\.macromedia\.com/pub|
-->
<regexp name="flashSites" value="(((https?:)?//(download\.macromedia\.com/pub|www\.macromedia\.com/(go|shockwave)|c\.brightcove\.com/services|gamevideos\.1up\.com/swf|(www\.)?youtube(\-nocookie)?\.com/(v|embed)|(www\.)?youtu\.be|(www\.|player\.)?vimeo\.com|w\.soundcloud\.com|www\.gametrailers\.com|videomedia\.ign\.com/ev|image\.com\.com/gamespot|www\.hulu\.com/embed|embed\.break\.com|player\.ordienetworks\.com/flash|www\.adultswim\.com/video/vplayer|www\.dailymotion\.com/swf|www\.ustream\.tv/flash/video|cdn-i\.dmdentertainment\.com|media\.mtvnservices\.com|www\.justin\.tv/widgets|www\.viddler\.com/(player|simple_on_site)|static\.twitter\.com/flash|www\.gamepro\.com/bin|cdn\.knightlab\.com|player\.pbs\.org|player\.history\.com|(.*)\.sharestream\.(com|net)|(.*)\.kaltura\.(com|net)|www\.divshare\.com/flash|www\.facebook\.com/v|(.*)\.jove\.com|(.*)\.linkedin\.com|(.*)\.microsoftstream\.com|(.*)\.h5p\.com|h5p\.org)/.*)|(/library/(?!.*\.\.[/|\\]).*)/.+)" />
<regexp name="flashSites" value="(((https?:)?//(download\.macromedia\.com/pub|www\.macromedia\.com/(go|shockwave)|c\.brightcove\.com/services|gamevideos\.1up\.com/swf|(www\.)?youtube(\-nocookie)?\.com/(v|embed)|(www\.)?youtu\.be|(www\.|player\.)?vimeo\.com|w\.soundcloud\.com|www\.gametrailers\.com|videomedia\.ign\.com/ev|image\.com\.com/gamespot|www\.hulu\.com/embed|embed\.break\.com|player\.ordienetworks\.com/flash|www\.adultswim\.com/video/vplayer|www\.dailymotion\.com/swf|www\.ustream\.tv/flash/video|cdn-i\.dmdentertainment\.com|media\.mtvnservices\.com|www\.justin\.tv/widgets|www\.viddler\.com/(player|simple_on_site)|static\.twitter\.com/flash|www\.gamepro\.com/bin|cdn\.knightlab\.com|player\.pbs\.org|player\.history\.com|(.*)\.sharestream\.(com|net)|(.*)\.kaltura\.(com|net)|www\.divshare\.com/flash|www\.facebook\.com/v|(.*)\.jove\.com|(.*)\.linkedin\.com|(.*)\.microsoftstream\.com|(.*)\.sharepoint\.com|(.*)\.h5p\.com|h5p\.org)/.*)|(/library/(?!.*\.\.[/|\\]).*)/.+)" />

<!-- This is a basic alphanumeric and punctuation string -->
<regexp name="basicAlphaNumeric" value="^[a-zA-Z0-9\s\-_.\?!,]*$" />
Expand Down

0 comments on commit 68e55b5

Please sign in to comment.