X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=05b33abd6ef93d1d4d3f5cea4e5e0e5d8e806065;hb=ffdcbd798f0253529fa373b59c769f9db49bf97c;hp=d168a2b8e27748ce54821de047c812a44af53662;hpb=710cb7d13c005b244cf50d2f33479b68596d1330;p=friendica.git
diff --git a/boot.php b/boot.php
index d168a2b8e2..05b33abd6e 100644
--- a/boot.php
+++ b/boot.php
@@ -2,8 +2,8 @@
set_time_limit(0);
-define ( 'BUILD_ID', 1031 );
-define ( 'FRIENDIKA_VERSION', '2.01.1002' );
+define ( 'BUILD_ID', 1033 );
+define ( 'FRIENDIKA_VERSION', '2.01.1005' );
define ( 'DFRN_PROTOCOL_VERSION', '2.0' );
define ( 'EOL', "
\r\n" );
@@ -945,6 +945,11 @@ function unxmlify($s) {
if(! function_exists('hex2bin')) {
function hex2bin($s) {
+ if(! ctype_xdigit($s)) {
+ logger('hex2bin: illegal input: ' . print_r(debug_backtrace(), true));
+ return($s);
+ }
+
return(pack("H*",$s));
}}
@@ -2004,8 +2009,12 @@ function profile_sidebar($profile) {
if((! is_array($profile)) && (! count($profile)))
return $o;
+ call_hooks('profile_sidebar_enter', $profile);
+
$fullname = '