Warbler redirects Rails page routes to / on Windows
---------------------------------------------------

                 Key: JRUBY-5516
                 URL: http://jira.codehaus.org/browse/JRUBY-5516
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6RC2
         Environment: WinXP, JRuby 1.6.0.RC2, JRuby HEAD, Rails 3.0.4, Warbler 
1.2.1, Warbler HEAD, Bundler 1.0.10
            Reporter: Ian Dees
            Assignee: Thomas E Enebo


The following sequence of operations used to lead to a template placeholder 
page at {{http://localhost:8080/item/index}} with JRuby 1.6.0.RC1:

{noformat}
jruby -S rails new tryit -m http://jruby.org
cd tryit
jruby -S rails g controller thing index
jruby -S warble executable war
java -jar tryit.war
{noformat}

With either JRuby 1.6.0.RC2 or a recent JRuby HEAD (48fa2b), requesting 
{{/item/index}} gets a 302 redirect to {{http://127.0.0.1/}} instead.  
Requesting nearly anything (even nonexistent routes like {{/asdf/asdfasdf}}) 
gets the exact same redirect.  Requesting {{/images/rails.png}}, however, 
returns the correct image data.

This appears to be a regression in RC2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to