Expected behavior
I expect that if I enter a legitimate Pinterest board URL, media_entity_pinterest's field formatter will render it.
Actual behavior
If I enter a legitimate Pinterest board URL that contains the % symbol, the board is not rendered.
Steps to reproduce
- Log into a Pinterest account.
- Create a new board with the plus symbol + in the name, and save.
- Copy the resulting generated URL, which should contain
%2B in it.
- Attempt to use this URL in a media_entity_pinterest field.
Results: board does not render.
Screenshots

Fix details
The regex patterns that validate Pinterest URLs do not allow for % in the board portion of the URL.
Board sections currently do allow for this and do not need to be modified.
Through testing, I have found that % is not allowed in user names, and so will not modify that pattern at this time.
Comments
Comment #2
timcosgrove commentedThis adds support for
%and test data for the 4 types of supported URLs.Comment #3
timcosgrove commentedComment #5
gg4 commented