Open opengeek opened 12 years ago
everettg_99 submitted:
Related issues:
everettg_99 submitted:
Relevant here: the database table schema requires a unique name. I would think a unique extension would make more sense here.
CREATE TABLE `modx_content_type` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `description` tinytext, `mime_type` tinytext, `file_extensions` tinytext, `headers` mediumtext, `binary` tinyint(1) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
opengeek created Redmine issue ID 8047
Currently, there is no way to add/edit/delete custom header key/value pairs stored in modContentType->headers. These need to be manageable so users can modify the default headers sent by PHP requests for different Content Types.