mollie / mollie-api-python

Mollie API client for Python
http://www.mollie.com
BSD 2-Clause "Simplified" License
113 stars 55 forks source link

Refactor regular expressions that extract identifiers from URLs #331

Closed whyscream closed 1 year ago

whyscream commented 1 year ago

There has been mention of API identifiers that contain a . (dot) character, see https://github.com/mollie/magento2/issues/669

Just to be sure, we refactor these regular expressions so that we won't run into the same issue in the future. We are now allowing any character in the identifier, we handle termination using either the end of the regex, or a slash which would indicate a new subpart of the URL.

Related to #330