basic_authentication doesn't work in Safari
Reported by Carl | June 25th, 2008 @ 08:57 PM | in 0.9.4
This simple code works fine in Firefox. However, the authentication window never pops up in Safari (wheel keeps spinning forever)
before :authenticate
def authenticate
basic_authentication { |u, p| u == "root" && p == "admin" }
end
Comments and changes to this ticket
-
Michael Klishin (antares) June 26th, 2008 @ 06:45 PM
- → Tag changed from authentication controller merb-core to authentication controller major merb-core
- → Milestone changed from to 0.9.4
- → State changed from new to open
-
Michael Klishin (antares) June 28th, 2008 @ 08:14 AM
- → Assigned user changed from to Michael Klishin (antares)
-
Michael Klishin (antares) June 28th, 2008 @ 11:51 AM
It is a know problem with Safari if you have ; in the URL, do you? For that reason Ruby on Rails developers abandoned ; as resource / action separator.
-
Carl June 28th, 2008 @ 06:09 PM
I didn't have any ; in the url. Just a simple http://0.0.0.0:4000/admin
-
Michael Klishin (antares) June 28th, 2008 @ 09:14 PM
What version of Safari? I created a sample app with the code you specified in Application controller, and access those pages from Safari 3.1 with basic http authentication working.
-
Michael Klishin (antares) July 16th, 2008 @ 10:23 PM
- → State changed from open to resolved
Ok, so far nobody could reproduce it and ; (known to cause problems to Safari) is no longer supported as action separator. If you have more details on version of Safari, feel free to comment.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
