Files
truecharts/charts/stable/cloudflareddns/docs/validation.md
Xstar97 a48faf35a4 feat(cloudflareddns): BREAKING CHANGE - Rewrite GUI (#5995)
* fix(cloudflareddns) validate cf hosts and zones

* add _secrets.tpl and major gui overhaul

* fix _secret.tpl variables

* remove variable from zone variable

* fix zones variable

* fix variable

* make some cchanges

* update regex

* update doc

* whoops

* fix CF_HOSTS variable

* Update charts/stable/cloudflareddns/Chart.yaml

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>

Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
2023-01-06 11:39:09 +02:00

32 lines
898 B
Markdown

# Input Validation
**`CF Hosts`**
**Not** accepted domains are:
- Domain ending in `.cf` (eg. `example.cf`)
- Domain ending in `.ga` (eg. `example.ga`)
- Domain ending in `.gq` (eg. `example.gq`)
- Domain ending in `.ml` (eg. `example.ml`)
- Domain ending in `.tk` (eg. `example.tk`)
Regex used to match this: `^((?!(\.cf|\.ga|\.gq|\.ml|\.tk)$).)*$`
You can try live [here](https://regex101.com/r/rZBln5/1)
**`CF Zones`**
**Not** accepted domains are:
- Domain ending in `.cf` (eg. `example.cf`)
- Domain ending in `.ga` (eg. `example.ga`)
- Domain ending in `.gq` (eg. `example.gq`)
- Domain ending in `.ml` (eg. `example.ml`)
- Domain ending in `.tk` (eg. `example.tk`)
Regex used to match this: `^((?!(\.cf|\.ga|\.gq|\.ml|\.tk)$).)*$`
You can try live [here](https://regex101.com/r/rZBln5/1)
---
_If you find a field that you think it needs validation, please open an issue on github_