You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolving the page type does not work if the page type is "downloadable", e.g. starts with a dot. Since resolving returns NULL, no Content-Type will be set at all (which means problems especially in Safari).
Fortunately the solution is simple. The function in the extension driver is:
public function resolveType($type){
return $this->_Parent->Configuration->get(strtolower($type), 'content-type-mappings');
}
Here's one possible solution:
public function resolveType($type){
if($type{0} == '.'){
return $this->_Parent->Configuration->get(strtolower(substr($type, 1)), 'content-type-mappings');
} else {
return $this->_Parent->Configuration->get(strtolower($type), 'content-type-mappings');
}
}
The text was updated successfully, but these errors were encountered:
nitriques
referenced
this issue
in Solutions-Nitriques/content_type_mappings
Jul 28, 2011
Resolving the page type does not work if the page type is "downloadable", e.g. starts with a dot. Since resolving returns NULL, no Content-Type will be set at all (which means problems especially in Safari).
Fortunately the solution is simple. The function in the extension driver is:
Here's one possible solution:
The text was updated successfully, but these errors were encountered: