bjeanes / ghost

Create, list, delete, and modify /etc/hosts entries with ease...
MIT License
732 stars 44 forks source link

Multi line hosts entry fails in safari at 18 hosts #51

Closed stubar closed 10 years ago

stubar commented 10 years ago

In Safari mac 10.8.5, if you have more than 18 hosts on a single line, all hosts will fail to resolve. Not an issue in chrome on same OS. This is an issue more with Safari and/or OSX.

Could ghost have an option to always use a new line for same host addresses?

For example none of these will resolve in Safari

127.0.0.1 first.domain second.domain third.domain forth.domain fifth.domain sixth.domain seventh.domain eighth.domain ninth.domain tenth.domain eleventh.domain twelfth.domain thirteenth.domain fourteenth.domain fifteenth.domain sixteenth.domain seventeenth.domain eighteenth.domain nineteenth.domain

However if you remove the last domain they will.

bjeanes commented 10 years ago

That's a cool bug. What version of Ghost are you using?

stubar commented 10 years ago

yes it's very weird, be interested to see if others can reproduce.

ghost 1.0.0.pre.2

On Fri, Mar 21, 2014 at 5:04 PM, Bo Jeanes notifications@github.com wrote:

That's a cool bug. What version of Ghost are you using?

Reply to this email directly or view it on GitHubhttps://github.com/bjeanes/ghost/issues/51#issuecomment-38298418 .