73 Commits

Author SHA1 Message Date
Marco van 't Wout
7b4536e245 Fix: apply standard html encoding around string arguments in default error/exception renderer
Notes:
- message also formats newlines with nl2br
- no dependency on CHtml::encode as this could cause exceptions as well
2025-04-10 14:15:21 +02:00
Marco van 't Wout
1762e60894 Fix PHP 8.3 deprecation 2024-06-04 10:56:19 +02:00
Arhell
8518f95605 update yii & php.net links 2022-08-09 00:11:49 +03:00
Arhell
fad0c5be77 update links 2022-08-07 11:54:16 +03:00
Marco van 't Wout
941743a40b Function displayError() sometimes hides too many backtrace entries as well. Only hide the safe amount of entries. See https://github.com/yiisoft/yii/issues/4355#issuecomment-821080311 2021-04-16 12:30:53 +02:00
Marco van 't Wout
259ef5e9ed Add the two missing backtrace entries in the error handlers message to Yii::log($msg, CLogger::LEVEL_ERROR, 'php'); 2021-04-16 11:16:46 +02:00
Pawel
208d1150b5 phpdoc fixes 2016-07-02 19:19:24 +03:00
Krzysztof Sowa
cf33114940 Allow absolute URLs to start with '//' instead of just 'http' - e.g. … (#4046)
* Allow absolute URLs to start with '//' instead of just 'http' - e.g. '//google.com' is valid absolute URL

* 4049 - changelog entry
2016-06-06 23:10:20 +02:00
Ferry Wang
6384bc3988 Fix typo for "as early as possible". 2016-03-19 10:29:10 +08:00
Viktor
e37732e709 Added CApplication::format getter and accessor with @property for IDE autocomplete 2014-07-01 17:55:07 +04:00
Alexander Makarov
474e29f27a And another tial to achieve 5.2 compatibility 2014-02-05 21:29:17 +04:00
Alexander Makarov
439c70ab2f And another fix for PHP 5.2 in eb8516b8e7 2014-02-05 20:56:08 +04:00
Alexander Makarov
c260400f66 Fixed PHP 5.2 compatibility in eb8516b8e7 2014-02-05 20:25:29 +04:00
pzaremba
c8837495b4 #3077 2014-02-05 14:36:33 +01:00
pzaremba
5ff92dea33 Revert "one more revert."
This reverts commit 91787e8787.
2014-02-05 14:35:20 +01:00
pzaremba
91787e8787 one more revert. 2014-02-05 14:25:06 +01:00
Carsten Brandt
c47c8ebf89 fixed CApplication docs about autoloader 2013-09-04 13:31:17 +02:00
Paul Klimov
7adb705334 Commit a1b6648 has been reverted. 2013-07-12 15:35:54 +03:00
Evgeny Blinov
a1b664813e Add checking default extensionPath value 2013-07-12 15:45:08 +04:00
Evgeny Blinov
b7df7f42dc Fix 2013-07-12 14:47:44 +04:00
Evgeny Blinov
1bfc7da00a Additional fix 2013-07-12 14:19:28 +04:00
Evgeny Blinov
74d500695a Fix 2013-07-11 10:43:02 +04:00
Evgeny Blinov
ee79af23c4 Code formatting 2013-07-10 19:12:02 +04:00
Evgeny Blinov
fa5e6e1a31 Bugfix. Unable import non-build aliases by config 2013-07-10 19:05:03 +04:00
borales
6d19a150d4 Replacing spaces with tabs, removing dots
[ci skip]
2013-03-06 20:59:38 +02:00
borales
2f68a75235 Replacing spaces with tabs
[ci skip]
2013-03-06 08:48:59 +02:00
borales
07975cad64 Fixing spaces
[ci skip]
2013-03-06 01:06:46 +02:00
borales
a7af2c5371 Fixing some typos, PHPDocs
[ci skip]
2013-03-06 00:24:35 +02:00
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
Carsten Brandt
97edb90501 better fix for #835
issue #835
reverts fix introduced with 5b28c6ab00

as onEndRequest will fire event only once I added app->end() method as
shutdown function to make sure onEndRequest gets called in any case.
If application called it before shutdown function has no effect.
2012-11-30 16:42:26 +01:00
Alexander Makarov
9451feddb0 Adjusted CHANGELOG and phpdoc for #835 2012-11-29 00:59:58 +04:00
Alexander Makarov
5b28c6ab00 Solid fix for #835 2012-11-28 23:52:59 +04:00
Alexander Kochetov
486723805e else if => elseif 2012-10-03 10:20:14 +04:00
Alexander Makarov
d865a3bab8 Fixes #1057 Removed SVN ids 2012-09-09 22:23:45 +04:00
Carsten Brandt
230ff6ebc1 Fixed #1359 docs for CApplication coreComponents
component list was not complete
2012-09-09 09:54:59 +02:00
mdomba
a7ef3d5d02 removed 1.0.x reference from documentation 2011-12-28 12:29:24 +00:00
mdomba
ee9d1b79ac (Fixes issue 3020) Added HTTP_REFERER information to the exception log 2011-12-16 13:18:12 +00:00
alexander.makarow
646cbb2b9a Documented component accessors with @property for significantly better IDE autocomplete 2011-10-25 00:01:09 +00:00
qiang.xue
c131147408 (Fixes issue 2436) 2011-06-23 15:08:27 +00:00
alexander.makarow
2ab981b454 reverted method chaining support 2011-02-24 16:42:44 +00:00
alexander.makarow
75041e8620 Chained calls are now possible for most framework class setters and methods not returning a value 2011-02-23 20:20:28 +00:00
qiang.xue
4be0af6917 changed copyright year. 2011-01-01 19:31:13 +00:00
alexander.makarow
bda2438797 Improved Yii::app() IDEs code completion 2010-12-08 17:49:20 +00:00
qiang.xue
bbfd0eeff3 Improved the error display in console command mode 2010-11-29 17:16:44 +00:00
qiang.xue
0947c76565 (Fixes issue 1081) 2010-11-06 03:20:01 +00:00
qiang.xue
7a424dd0a9 Added more exception information to log. 2010-10-28 16:50:22 +00:00
mdomba
4e992bf157 Added exit checking for r2575 2010-10-28 08:09:44 +00:00
qiang.xue
713eb751ac Improved CHttpRequest::sendFile() to avoid timeout errors caused by long file downloading time 2010-10-27 14:54:22 +00:00
qiang.xue
f01ff3319f Improved error handling to catch errors occurring in CApplication::end()
removed destructor from CDbCache, CDbAuthManager and CDbLogRoute to avoid potential DB connection issue
2010-10-22 18:10:54 +00:00