Skip to content

Commit 8d8c883

Browse files
mjansenDatabaychfsx
authored andcommitted
HTTP: Improve DropInReplacements section in README
1 parent 8ae63ef commit 8d8c883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HTTP/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,15 @@ The project is also actively maintained.
215215
The http-message package contains the specified interfaces of the php-fig which defined psr-7.
216216

217217
# DropInReplacements
218-
With ILIAS 8, the Technical Board has decided to replace the [Superglobals](https://www.php.net/manual/en/language.variables.superglobals.php)
218+
With ILIAS 8, the Technical Board has decided to replace the [`Superglobals`](https://www.php.net/manual/en/language.variables.superglobals.php)
219219
`$_GET`, `$_POST`, `$_COOKIE` and `$_REQUEST` with so called `SuperGlobalDropInReplacement` instances.
220220
These are `ArrayAccess` wrappers for the respective `Superglobals`. They contain the [`Refinery`](../Refinery/README.md)
221221
and run values on readout through the `->kindlyTo()->string()` `transformation` respectively.
222222
Furthermore, the `SuperGlobalDropInReplacement` should prevent that values in the `Superglobals` are manually
223223
assigned or modified/overwritten, because this violates the immutability of these values in the HTTP request.
224224
The general replacement of the `Superglobals` for some 3rd-Party-Libraries however leads to problems, because these
225225
require an `array` and no `ArrayAccess` object (currently known for `SimpleSAMLphp`). Therefore, there is the
226-
possibility to override the `Superglobals` via an ini setting in the `client.ini.php` file:
226+
possibility to override the `Superglobals` via an ini setting in the `client.ini.php` file.
227227

228228
```
229229
[server]

0 commit comments

Comments
 (0)