Browse Source

Fix default url pattern.

pull/336/head
Sebastian Stehle 7 years ago
parent
commit
a985e326e1
  1. 2
      src/Squidex/appsettings.json

2
src/Squidex/appsettings.json

@ -30,7 +30,7 @@
// Regex for slugs (e.g. hello-world).
"Slug": "^[a-z0-9]+(\\-[a-z0-9]+)*$",
// Regex for urls.
"Url": "^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$"
"Url": "^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:\\/?#%[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$"
},
"map": {

Loading…
Cancel
Save