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

898 B

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

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


If you find a field that you think it needs validation, please open an issue on github