Posts Tagged ‘host name’

Bug of the day: cookie not being saved? Check your host-name.

Posted by Rahoul Baruah on April 27th, 2009 under General, Ruby on Rails and Software Development, Writing Reliable, Bug-Free Code Tags: , , ,  •  Comments Off

Lesson learnt today.
Apparently, underscores are not part of the standard for a host name. However, your browser (and DNS server and all the links in between) will accept underscores in the host name.
But, when you have Safari set to “only accept cookies for sites that I visit” the underscore in [...]