diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-11-08 13:54:39 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-11-08 13:54:39 +0100 |
commit | 00d3dd91ef42df13eeafbcc54dcebe3238e322c6 (patch) | |
tree | 123066f497546ad181c96ef2bdd1fde011457807 /tests/api/ApiMiddlewareTest.php | |
parent | 8c5f6c786d00310b2e863aa316927effb7bfeedb (diff) | |
download | Shaarli-00d3dd91ef42df13eeafbcc54dcebe3238e322c6.tar.gz Shaarli-00d3dd91ef42df13eeafbcc54dcebe3238e322c6.tar.zst Shaarli-00d3dd91ef42df13eeafbcc54dcebe3238e322c6.zip |
Fix an issue truncating extracted metadata content
Previous regex forced the selection to stop at either the first single or double quote found, regardless of the opening quote. Using '\1', we're sure to wait for the proper quote before stopping the capture.
Diffstat (limited to 'tests/api/ApiMiddlewareTest.php')
0 files changed, 0 insertions, 0 deletions