File: src/voku/helper/Bootup.php

Recommend this page to a friend!
  Classes of Lars Moelleken  >  Portable UTF-8  >  src/voku/helper/Bootup.php  
File: src/voku/helper/Bootup.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Portable UTF-8
Manipulate UTF-8 text strings in pure PHP
Author: By
Last change: [*]: use "@psalm-pure"
[*]: use "@psalm-immutable"
Apply fixes from StyleCI
[!!!]: disable "Bootup::filterRequestUri()" && "Bootup::filterRequestInputs()" by default

Since version 5.4.26 this library will NOT force "UTF-8" by "bootstrap.php" anymore.
If you need to enable this behavior you can define "PORTABLE_UTF8__ENABLE_AUTO_FILTER", before requiring the autoloader.

```php
define('PORTABLE_UTF8__ENABLE_AUTO_FILTER', 1);
```

Before version 5.4.26 this behavior was enabled by default and you could disable it via "PORTABLE_UTF8__DISABLE_AUTO_FILTER", but the code had potential security vulnerabilities via injecting code while redirecting via ```header('Location ...```.
This is the reason I decided to add this BC in a bug fix release, so that everybody using the current version will receive the security-fix.
Date: 8 months ago
Size: 6,057 bytes

You need to be a registered user and login to get this file.

1,566,066 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmailHotmailStackOverflowGitHubYahoo

For more information send a message to info at phpclasses dot org.