Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mikkel Johansen 116 posts 292 karma points
    Mar 22, 2012 @ 13:36
    Mikkel Johansen
    0

    Header error in Chrome

    I get this strange error ONLY in Chrome it works in all the other browsers I have.

    Example
    http://designb.udv.ef.dk/imagegen.ashx?image=/media/7930/Juicy%20Salif,%20Alessi%201990-1991.jpg&width=350

    Error 349: net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION)

    Regards

    Mikkel Johansen

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Mar 22, 2012 @ 14:51
    Douglas Robar
    0

    Thanks for the bug report, Mikkel!

    This is an issue starting with Chrome 16. http://www.altitudesolutions.co.uk/Blog/post/2011/12/28/Chrome-16-breaking-use-of-ASP-NET-AddHeader-Method.aspx

    This is what is returned by ImageGen in this case in the response headers:

    Content-Disposition: filename=Juicy Salif, Alessi 1990-1991.jpeg

    It should be:

    Content-Disposition: filename="Juicy Salif, Alessi 1990-1991.jpeg"

     

    I'll need to change that in code. 

    As a workaround until then you have two options: remove the comma from the filename, or don't use ImageGen Professional for this particular site if you don't need it's capabilities (because only in Pro does the content disposition get set).

    cheers, and thanks again.
    doug. 

  • Mikkel Johansen 116 posts 292 karma points
    Mar 26, 2012 @ 11:09
    Mikkel Johansen
    0

    Thanks, We will remove the comma.

    Regard
    Mikkel 

  • Dan Evans 631 posts 1018 karma points
    Sep 14, 2012 @ 13:06
    Dan Evans
    0

    Has this bug been fixed? I'm usig imageGen 2.5.7 and getting the same problem in Chrome with a comma in the file name.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies