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
Describe the bug except option in filters disables the Debug Toolbar but adds the comment <!-- DEBUG-VIEW START -->. This comment breaks the css when I m trying to load the view as CSS with $this->response->setContentType('text/css'). May causes the problem for other content types also.
CodeIgniter 4 version
v4.0.3
Affected module(s)
CodeIgniter\View
Expected behavior, and steps to reproduce if appropriate
Expected that the comment should not be added when URI available in except filter.
Describe the bug
except
option in filters disables the Debug Toolbar but adds the comment<!-- DEBUG-VIEW START -->
. This comment breaks the css when I m trying to load the view asCSS
with$this->response->setContentType('text/css')
. May causes the problem for other content types also.CodeIgniter 4 version
v4.0.3
Affected module(s)
CodeIgniter\View
Expected behavior, and steps to reproduce if appropriate
Expected that the comment should not be added when
URI
available inexcept
filter.Filters.php
CodeIgniter4/system/View/View.php
Lines 262 to 282 in 9bbc991
Context
The text was updated successfully, but these errors were encountered: