rails image_tag is appending a period after the image name in jruby 1.1.3, 1.1.4
--------------------------------------------------------------------------------

                 Key: JRUBY-2968
                 URL: http://jira.codehaus.org/browse/JRUBY-2968
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1.3
         Environment: windows 2003 64 bit
jdk 6 update 7
jruby 1.1.4
rails 2.1
rubycas-client
jruby-openssl
activerecord-jdbc-adapter
            Reporter: Jin Lee
            Assignee: Thomas E Enebo


Hi - 

When executing

<%= image_tag "spinner.gif" %>

I get the following result in my log:

127.0.0.1 - - [02/Sep/2008:12:58:36 PDT] "GET /sections/search HTTP/1.1" 200 
19715
http://localhost:3000/ -> /sections/search
[2008-09-02 12:58:38] WARN  the request refers nondisclosure name 
`spinner.gif.'.
127.0.0.1 - - [02/Sep/2008:12:58:37 PDT] "GET /images/spinner.gif.?1219788739 
HTTP/1.1" 404 626
http://localhost:3000/sections/search -> /images/spinner.gif.?1219788739

Subsequently, here is the html source:

<img alt="Spinner" src="/images/spinner.gif.?1219788739" />

There is a period before gif and after ?1219788739, so the image never gets 
rendered correctly.

The most curious part about this is that on my local development machine, the 
image renders fine and the period is not there. (which the only difference is 
that it has xp pro and not 2003 server).

Thoughts?

Thanks,
Jin

-- 
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