contao/core — pull request #4614 by tristanlins (2012-08-09 10:29:15+00:00)
Title: Reset cache postHtmlEncoded and postHtmlDecoded in setPost.

The Input::setPost method does not reset postHtmlEncoded and postHtmlDecoded cache entries.
Because of this, only the first `Input::setPost(..) .. Input::postHtml(..)` will work, but any other `Input::setPost(..) .. Input::postHtml(..)` will only return the cached value from the first call.

```php
Input::setPost('foo', 'bar');
Input::postHtml('foo');
// will return 'bar'

Input::setPost('foo', 'zap');
Input::postHtml('foo')
// will also return 'bar', not 'zap'
```