Skip to content

Commit 41cbdb8

Browse files
committed
Dont require an IP address for hostnames; closes pterodactyl#1728
1 parent 05d859c commit 41cbdb8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
66
## v0.7.17 (Derelict Dermodactylus)
77
### Fixed
88
* Fixes database passwords not being generated with the proper requirements for some MySQL setups.
9+
* Hostnames that are not FQDNs/IP addresses can now be used for connecting to a MySQL host.
910

1011
## v0.7.16 (Derelict Dermodactylus)
1112
### Fixed

app/Models/DatabaseHost.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class DatabaseHost extends Model implements CleansAttributes, ValidableContract
7272
*/
7373
protected static $dataIntegrityRules = [
7474
'name' => 'string|max:255',
75-
'host' => 'ip|unique:database_hosts,host',
75+
'host' => 'unique:database_hosts,host',
7676
'port' => 'numeric|between:1,65535',
7777
'username' => 'string|max:32',
7878
'password' => 'nullable|string',

0 commit comments

Comments
 (0)