ARR issue with content-dispositionRSS

2 replies

Last post May 27, 2018 07:39 AM by or@marketman.co.il

  • ARR issue with content-disposition

    May 24, 2018 10:37 AM|or@marketman.co.il|LINK

    Hi we are using ARR 3.0

    We create a file dynamically and download it to the client

    When we are doing this through the ARR, the content-disposition in Hebrew is Gibrish

    When doing this directly to the same site (Not through the ARR) the file names in Hebrew are OK

    Could this be a bug? Does anyone has any idea what could cause it?

    Already installed Hebrew language pack on the ARR machine and it did not change anything..

    Thanks

  • Re: ARR issue with content-disposition

    May 25, 2018 03:26 AM|deepakpanchal10|LINK

    Hi or@marketman,

    The header also allows you to control the default file name. This can be handy if you’re generating the content in something like getfile.aspx but you want to supply a more meaningful file name to the user.

    For dynamically generated content you would need to add this header in the page’s server side code.After adding the header, the browser will always prompt the user to download the file.

    For more detailed information, you can try to refer link below may help you.

    Four Tips for Setting up HTTP File Downloads

    Regards

    Deepak

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
  • Re: ARR issue with content-disposition

    May 27, 2018 07:39 AM|or@marketman.co.il|LINK

    I already have all of that :)

    The problem is that the encoding of the file name in the content-disposition is changed when accessing through the ARR

    On direct access to the IIS the value is OK:

    content-disposition: attachment;filename=marketman order no 4017736.xlsx

    When accessing the same direct link through the ARR the encoding is wrong:

    content-disposition: attachment;filename=מרקטמן מספר ×”×–×ž× ×” 4017736.xlsx

    Thanks for the help

    OrM