Closed jaros1 closed 7 years ago
Current optional pattern ([0-9]{13}-[0-9]{13}-[0-9]+-chat.json|[0-9]{13}-image.json|[0-9]{13}-[0-9]+-image.json|[0-9a-f]{10}.[0-9]{13}) Could be changed to [0-9] as normal files are without digits and all optional files are with digits.
Done
New unsafe pattern validation in ZeroNet {n} expressions are no longer allowed in optional files pattern. https://github.com/HelloZeroNet/ZeroNet/issues/1019 https://github.com/HelloZeroNet/ZeroNet/issues/989 Change optional files pattern and add files_optional validation after sign and before publish.