mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
opnsense/core: automatically remove trailing slash (#3361)
This commit is contained in:
parent
9cb95f7c86
commit
cec76910b4
@ -9,6 +9,8 @@
|
||||
</enabled>
|
||||
<url type="TextField">
|
||||
<Required>N</Required>
|
||||
<mask>/^https?:\/\/.*[^\/]$/</mask>
|
||||
<ValidationMessage>The url must be valid without a trailing slash. For example: https://nextcloud.example.com or https://example.com/nextcloud</ValidationMessage>
|
||||
<Constraints>
|
||||
<check001>
|
||||
<ValidationMessage>An URL for the Nextcloud server must be set.</ValidationMessage>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user