mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] lower domain
Lower domain to avoid some edge cases issues See: https://forum.yunohost.org/t/invalid-domain-causes-diagnosis-web-to-fail-fr-on-demand/11765
This commit is contained in:
parent
d2f8f720ab
commit
f46eb01c03
1 changed files with 4 additions and 0 deletions
|
@ -90,6 +90,10 @@ def domain_add(operation_logger, domain, dyndns=False):
|
||||||
|
|
||||||
operation_logger.start()
|
operation_logger.start()
|
||||||
|
|
||||||
|
# Lower domain to avoid some edge cases issues
|
||||||
|
# See: https://forum.yunohost.org/t/invalid-domain-causes-diagnosis-web-to-fail-fr-on-demand/11765
|
||||||
|
domain = domain.lower()
|
||||||
|
|
||||||
# DynDNS domain
|
# DynDNS domain
|
||||||
if dyndns:
|
if dyndns:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue