swipl-devel icon indicating copy to clipboard operation
swipl-devel copied to clipboard

the html link tag has options not reachable , notably crossorigin

Open AnnieAtHasura opened this issue 6 years ago • 0 comments
trafficstars

html_resource/2 is a handy system, but doesn't provide access to the entirety of the HTML link tag's options.

Request for enhancement to handle some of these other options.

Notably, there should be a way to set the crossorigin attribute to prevent CSRF, and to set the integrity attribute to assure the resource is what's expected, to prevent MiM attacks.

Please assign this to @Anniepoo , I'll push something asap.

AnnieAtHasura avatar Jun 11 '19 00:06 AnnieAtHasura