35 Commits

Author SHA1 Message Date
Ian
aca77bd482 cleanup cosmetics 2014-12-10 14:34:54 +01:00
Ian
4466096c18 better 7e46e92e1b8cf35237c8dc15f14b79b7df48ffff 2014-12-07 18:28:58 +01:00
Ian
7e46e92e1b lang charset proposel for serendipity_die()
References #236
2014-12-07 18:26:01 +01:00
onli
d91b86486b specialchar charset fallback on early calls (#236, #240) 2014-12-07 17:47:14 +01:00
Garvin Hicking
73f417fe39 Check for ENT_HTML401 existance to make the patch work with PHP 5.3 2014-11-24 11:18:21 +01:00
Garvin Hicking
eab43b12f5 Adjust remaining htmlspecialchars() accordingly 2014-11-24 10:13:40 +01:00
onli
92afc37753 Introduce serendipity_specialchars-wrapper for encoding bug (#236)
PHP 5.4 sets UTF-8 as the default for htmlspecialchars, htmlentities and html_entity_decode. The first two will echo an empty string when given a string with umlauts. This commits introduces serendipity_specialchar-wrapper that are meant to be a temporary solution for the s9y-core until PHP 5.6 fixed the bug, so the native charset option of s9y continues to work.
2014-11-23 23:41:08 +01:00
Ian
d633a62bdc only use errorHandlerCreateDOM() if theme has it set
This is odd for all custom or older theme errors and for theme development though.
References #167
2014-06-02 17:26:08 +02:00
Ian
cfaad3b04c enhance debug note 2014-04-25 14:01:53 +02:00
Ian
c69932eaae rename create() js errorHandler function to errorHandlerCreateDOM() 2014-03-24 15:19:16 +01:00
Ian
d2e34d3bcf upport missing errorToExceptionHandler() changes 2014-03-24 15:17:28 +01:00
onli
d80a8334c8 Use return instead of echo in the remaining core
Debug-messages still may use echo, and some functions in functions_image and trackback still use it to generate progress messages, which should get cleaned up as well but is not that urgent
2013-07-05 19:16:11 +02:00
onli
a654b13a9a Complete include_once usage, romove constants 2013-06-22 12:32:54 +02:00
onli
cbe07715fd use include_once 2013-06-21 18:11:03 +02:00
Ian
4a317336fe upport 1b53092a21 exception tuning
mainly this was introduced to seperate db connect errors from tracing, while these errors carried security data in thrown trace path
2013-04-08 20:08:35 +03:00
Ian
ec83606bf1 debug_backtrace >= php 5.3.6 only 2013-02-12 09:26:31 +01:00
Ian
8c1adf2189 typo 2013-02-07 12:34:44 +01:00
Ian
119f64c25c reset verbosity in testing environments back to original intention
and be more strict to $serendipity['production']
2013-02-07 12:34:19 +01:00
Garvin Hicking
53ea38aa3c Port from master 2013-01-21 10:06:09 +01:00
Ian
57e63251b3 cleared whitespace missmatch in serendipity_die() 2012-08-23 17:18:31 +02:00
Garvin Hicking
f12f53aaab Damn, why does cherry picking not work? 2012-06-12 20:51:57 +02:00
Ian
4db3a08f19 corrected note typos and changed trigger_errors error LEVEL
back to Warning as before, which still is halted by the smarty error handler
2011-12-25 15:24:08 +01:00
Ian
ee116ee460 some more tweaking to the errorToExceptionHandler 2011-12-08 19:21:24 +01:00
Ian
c2afd4efc0 moved custom errorHandler to avoid XML Feed declaring and callback errors 2011-12-06 12:36:03 +01:00
Garvin Hicking
f59d157fc6 date zone 2011-05-10 12:51:30 +00:00
Garvin Hicking
677df54625 PHP 5.3 compatibility, upgrade Smarty to 2.6.26 2009-07-14 11:40:16 +00:00
Garvin Hicking
ed5a65320d Add smaty modifier that can pass referenced variables to a smarty plugin api. Hurts to see that, but seems to be the only way 2007-06-01 15:31:54 +00:00
Garvin Hicking
12af228d66 not yet implemented issue, reported on the forums 2007-04-17 08:23:50 +00:00
Garvin Hicking
35bcbda057 Remove not yet supported filter call 2007-02-22 09:40:01 +00:00
Garvin Hicking
f03841587a Ensure to not be able to call s9y files under circumstances where .htaccess does not deny request AND register_globals is turned on 2006-11-30 21:34:29 +00:00
Sebastian Nohn
7661964383 * add filter for php 5.2.0 2006-11-05 11:25:03 +00:00
Sebastian Nohn
75483ee2fe * revert 2006-11-03 16:10:02 +00:00
Sebastian Nohn
6e63f3ed13 * hotfix to ensure compatibility php 5.2.0 2006-11-02 19:41:54 +00:00
Garvin Hicking
0674c0256f Add google ping
safer check for "filter" extension
2006-10-11 18:59:31 +00:00
Garvin Hicking
80e14346a5 Also support "last X" REST interface 2006-08-02 10:07:34 +00:00