Forum: Ruby on Rails Typo or Rails HTTPS => HTTP...:443 bug

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
jamie (Guest)
on 2005-11-23 21:12
(Received via mailing list)
I recently upgraded to the latest Rails and Typo. Now when I am in
the admin section of Typo and I submit a form I often get this error:

Bad Request

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

Hint: https://www.example.com/

I was on this page:
https://blog.dang.us/admin/categories/list

and ended up on this:
http://blog.dang.us:443/admin/categories/list

What's happened is that somewhere in the request, "https" has been
changed to "http" and the port number 443 has been appended to the
server address.

I've started poking around in the code, but wonder if anyone else has
encountered this or knows if a fix is already in the works.

Thanks,

Jamie O-H
http://blog.dangdev.com
jamie (Guest)
on 2005-11-24 02:15
(Received via mailing list)
As a follow-up, I also noticed that if I enter one of my blog's posts
using HTTPS, the trackback URL is of the wrong form. Have a look:

https://blog.dangdev.com/articles/2005/11/22/using...
test-a-sql-server-legacy-db-connection

here's a tiny url version:
http://tinyurl.com/736c9

Jamie
This topic is locked and can not be replied to.