Skip to content

Releases: forkcms/library

3.2.2

24 Jul 14:35
996352f
Compare
Choose a tag to compare

Fixes errors when uploading an image to a page in Fork CMS

1.4.5

19 Jul 07:56
6e1e4dc
Compare
Choose a tag to compare
  • Cast numeric values to strings
    • If the form uses numeric values, PHP will automatically cast them to integers because we set them as array keys. If we don't cast it back to a string we will compare an integer to a string and it will always fail

1.4.1

29 May 09:15
Compare
Choose a tag to compare

Security release:
#69
If a user sets a cookie containing an object it might execute some code inside the object when unserializing the object through the __wakeup magic method.

This pull request attempts to prevent this by setting and getting cookies through json encode/decode. We've also provided some fallback by checking if the cookie's string contains a serialized object. If it doesn't, we still unserialize the cookie and re-set it using json_encode. If the cookie does contain a serialized object an exception will be thrown.

This security fix will break your website if objects are set in cookies.

See https://www.owasp.org/index.php/PHP_Object_Injection for example

2.3.9

20 May 13:56
9a97858
Compare
Choose a tag to compare

Security release:
#69
If a user sets a cookie containing an object it might execute some code inside the object when unserializing the object through the __wakeup magic method.

This pull request attempts to prevent this by setting and getting cookies through json encode/decode. We've also provided some fallback by checking if the cookie's string contains a serialized object. If it doesn't, we still unserialize the cookie and re-set it using json_encode. If the cookie does contain a serialized object an exception will be thrown.

This security fix will break your website if objects are set in cookies.

See https://www.owasp.org/index.php/PHP_Object_Injection for example

3.2.1

17 Apr 07:37
d75e25a
Compare
Choose a tag to compare

Fixes out of memory errors caused by the exception handler

3.2.0

07 Jan 12:38
a503ab2
Compare
Choose a tag to compare
  • Composer update symfony/phpunit-bridge
  • Change non existing url to a really non existing one.
  • Handle SVG file as a normal image

1.3.18

13 Dec 09:49
Compare
Choose a tag to compare

PHP 7.2 compatibility

3.1.1

10 Jul 12:52
Compare
Choose a tag to compare

Check if the element errors are empty strings or null before adding them to the errors

3.1.0

10 Jul 08:18
02f1384
Compare
Choose a tag to compare

Concatenate form errors with newlines instead of just tacking them together

3.0.4

27 Jun 13:31
3e2e53d
Compare
Choose a tag to compare

Fixes:

  • licence
  • invalid token error in fork