Commit 21f78740 authored by Sigrid Suski's avatar Sigrid Suski

(#) Braces of placeholders aree changed to entities when in urls (Issue #11)

    version 1.1
parent b97e36cf
......@@ -44,5 +44,5 @@ abstract class C
const NO = 0;
const ROOT = JPATH_ROOT;
const DS = DIRECTORY_SEPARATOR;
const VERSION = '1.0.14';
const VERSION = '1.1';
}
......@@ -16,8 +16,8 @@ Url: https://www.Sigsiu.NET
Copyright (C) 2006 - 2020 Sigsiu.NET GmbH (https://www.sigsiu.net). All rights reserved.
@license GNU/LGPL Version 3
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3
as published by the Free Software Foundation, and under the additional terms according section 7 of GPL v3.
See https://www.gnu.org/licenses/gpl.html and https://www.sigsiu.net/licenses.
as published by the Free Software Foundation, and under the additional terms according section 7 of LGPL v3.
See https://www.gnu.org/licenses/lgpl.html and https://www.sigsiu.net/licenses.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
......@@ -35,6 +35,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
(+) Added support for WEBP images into Grafika
(+) Introducing of semantic versioning
(#) Braces of placeholders aree changed to entities when in urls (Issue #11)
### 1.0.13 (05 June 2020)
......
<?php
/**
* @package: Sobi Framework
*
* @author
* Name: Sigrid Suski & Radek Suski, Sigsiu.NET GmbH
* Email: sobi[at]sigsiu.net
* Url: https://www.Sigsiu.NET
* @copyright Copyright (C) 2006 - 2016 Sigsiu.NET GmbH (https://www.sigsiu.net). All rights reserved.
*
* @copyright Copyright (C) 2006 - 2020 Sigsiu.NET GmbH (https://www.sigsiu.net). All rights reserved.
* @license GNU/LGPL Version 3
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3
* as published by the Free Software Foundation, and under the additional terms according section 7 of GPL v3.
* See http://www.gnu.org/licenses/lgpl.html and https://www.sigsiu.net/licenses.
*
* See https://www.gnu.org/licenses/lgpl.html and https://www.sigsiu.net/licenses.
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
*
* @created Thu, Dec 1, 2016 by Radek Suski
* @modified 27 May 2020 by Sigrid Suski
* @modified 15 July 2020 by Sigrid Suski
*/
namespace Sobi\Input;
defined( 'SOBI' ) || exit( 'Restricted access' );
use AthosHun\HTMLFilter\Configuration;
use AthosHun\HTMLFilter\HTMLFilter;
use Sobi\Error\Exception;
......@@ -27,8 +31,6 @@ use Sobi\FileSystem\FileSystem;
use Sobi\Framework;
use Sobi\Utils\Serialiser;
defined( 'SOBI' ) || exit( 'Restricted access' );
/**
* @method integer Sid() public static Sid( $request = 'request', $default = 0 )
* @method integer Cid() public static Cid( $request = 'request', $default = 0 )
......@@ -220,7 +222,11 @@ abstract class Input
}
$html = Request::Instance()->{$request}->getRaw( $name, $default );
return str_replace( '&#13;', "\n", $filter->filter( $config, $html ) );
$html = str_replace( '&#13;', "\n", $filter->filter( $config, $html ) );
$html = str_replace( 'href="%7B', "href=\"{", $html );
$html = str_replace( '%7D"', "}\"", $html );
return $html;
}
/**
......
......@@ -2,11 +2,4 @@
Since version 1.3.3, SobiPro uses the Sobi Framework for common functions. This is the first step needed to provide our community with additional components in the future.
However, there is a necessary requirement to use the framework. This is no new requirement, as it is already compulsory for the SobiPro template settings available since SobiPro 1.3.0.
In order to use the Sobi Framework out of the box, the Phar extension has to be available.
Phar is not only needed for the Sobi Framework, but also for the Template Settings and the LESS compiler of SobiPro.
If you have Suhosin installed, make sure that Phar support is enabled in Suhosin. This is a common problem on some servers.
Read more in https://www.sigsiu.net/center/sobipro-component/154-sobi-framework
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment