mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
chore: prepare for PR
This commit is contained in:
1 parent
8a5ccd6323
commit
839635e9e8
7 files changed
+202
-20
No files matched your search
@@ -913,6 +913,9 @@ $schema://$host {
|
||||
return Attribute::make(
|
||||
get: function ($value) {
|
||||
return (int) preg_replace('/[^0-9]/', '', $value);
|
||||
},
|
||||
set: function ($value) {
|
||||
return (int) preg_replace('/[^0-9]/', '', (string) $value);
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -922,6 +925,9 @@ $schema://$host {
|
||||
return Attribute::make(
|
||||
get: function ($value) {
|
||||
return preg_replace('/[^A-Za-z0-9\-_]/', '', $value);
|
||||
},
|
||||
set: function ($value) {
|
||||
return preg_replace('/[^A-Za-z0-9\-_]/', '', $value);
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -931,6 +937,9 @@ $schema://$host {
|
||||
return Attribute::make(
|
||||
get: function ($value) {
|
||||
return preg_replace('/[^0-9a-zA-Z.:%-]/', '', $value);
|
||||
},
|
||||
set: function ($value) {
|
||||
return preg_replace('/[^0-9a-zA-Z.:%-]/', '', $value);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user