Restore support for using pathlib.Path for static_folder.

* No longer causes AttributeError: 'PosixPath' object has no
  attribute 'rstrip'.

* This was broken by e6178fe489
  which was released in 1.1.2.

* Add a regression test that now passes.

See #3557.
This commit is contained in:
Joshua Bronson 2020-04-20 13:26:33 -04:00
parent b82cca7283
commit 7ba35c4d4f
3 changed files with 20 additions and 1 deletions

View file

@ -29,6 +29,15 @@ Unreleased
argument can be passed. :issue:`3553`
Version 1.1.x
-------------
Not yet released.
- Officially support passing a :class:`pathlib.Path` for
``static_folder`` which stopped working in 1.1.2. :pr:`3579`
Version 1.1.2
-------------