An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(onboarding): validate ssh username
ShadowArcanist7c97b8bfb354
diff --git a/app/Livewire/Boarding/Index.php b/app/Livewire/Boarding/Index.phpindex 33c75bf706..74bfc9192e 100644--- a/app/Livewire/Boarding/Index.php+++ b/app/Livewire/Boarding/Index.php@@ -278,7 +278,7 @@ class Index extends Component'remoteServerName' => 'required|string','remoteServerHost' => 'required|string','remoteServerPort' => 'required|integer',- 'remoteServerUser' => 'required|string',+ 'remoteServerUser' => 'required|string|regex:/^[a-zA-Z0-9._-]+$/',]);$this->privateKey = formatPrivateKey($this->privateKey);@@ -467,7 +467,7 @@ class Index extends Component{$this->validate(['remoteServerPort' => 'required|integer|min:1|max:65535',- 'remoteServerUser' => 'required|string',+ 'remoteServerUser' => 'required|string|regex:/^[a-zA-Z0-9._-]+$/',]);$this->createdServer->update([