diff --git a/lib/Cake/Controller/Component/RequestHandlerComponent.php b/lib/Cake/Controller/Component/RequestHandlerComponent.php index 17fe7757c..b4db62b1e 100644 --- a/lib/Cake/Controller/Component/RequestHandlerComponent.php +++ b/lib/Cake/Controller/Component/RequestHandlerComponent.php @@ -112,7 +112,7 @@ class RequestHandlerComponent extends Component { if (isset($this->request->params['url']['ext'])) { $this->ext = $this->request->params['url']['ext']; } - if (empty($this->ext)) { + if (empty($this->ext) || $this->ext == 'html') { $accepts = $this->request->accepts(); $extensions = Router::extensions(); if (count($accepts) == 1) {