jaros1 / Money-Network

Demo with complementary and alternative money. Implemented in ZeroNet and AngularJS. Focus on privacy, encryption, max data in client and min data on ZeroNet. Work in progress.
GNU General Public License v2.0
4 stars 4 forks source link

Change optional files pattern #181

Closed jaros1 closed 7 years ago

jaros1 commented 7 years ago

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.

jaros1 commented 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.

jaros1 commented 7 years ago

Done