MEH-Design / frix

A CMS based on atomic design principles.
MIT License
2 stars 1 forks source link

hyphenated attributes cause crash #80

Closed MiniXC closed 7 years ago

MiniXC commented 7 years ago
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>

The http-equiv tag is recognized as being specific to frix because of the hyphen it contains, which causes the core to stop.

bminixhofer commented 7 years ago

This was fixed in 7caeef7da5fc1400e9e417cf202ec450bc3b65de. Frix now checks if, in this case, the http prefix exists. If not the attribute is ignored.

The problem persists if there is a prefix called http so we have to add some check to prevent this.