Merge branch 'feature/redesign' into feature/redesign
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
namespace SCCP\TFTP;
|
||||
/*
|
||||
* PHP TFTP Server
|
||||
*
|
||||
|
@@ -2,11 +2,12 @@
|
||||
//
|
||||
// Helper functions
|
||||
//
|
||||
declare(strict_types=1);
|
||||
namespace SCCP\Utils;
|
||||
|
||||
function utf8_urldecode($str) {
|
||||
$str = preg_replace("/%u([0-9a-f]{3,4})/i","&#x\\1;",urldecode($str));
|
||||
return html_entity_decode($str,null,'UTF-8');;
|
||||
return html_entity_decode($str,0,'UTF-8');;
|
||||
}
|
||||
|
||||
function log_debug($message) {
|
||||
|
Reference in New Issue
Block a user