Knowledge Center Search


Filename encoding is broken for Firefox

  [KB19198] Show KB Properties

  [KB19198] Hide KB Properties

Knowledge Base ID: KB19198
Last Updated: 05 Oct 2010
Version: 1.0

Filenames such as 日本語ファイル.log are saved as %E6%97%A5%E6%9C%AC%E8%AA%9E%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB.log when downloaded via rewrite/web access method for Firefox users.  Internet Explorer users are NOT affected.  Can the content-disposition headers be disabled?

Problem or Goal:
How to disable content-disposition header on rewrite engine?

All browsers decode content-disposition header but Firefox cannot. For a filename such as 日本語ファイル.log via Firefox is saved as %E6%97%A5%E6%9C%AC%E8%AA%9E%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB.log when downloaded via core/rewrite/web access method .

IVE uses content-disposition header for file downloads via the core rewrite web access feature.
For example, accessing a file in a rewritten url, will be saved as ",". To avoid this we add content-disposition header so that a browser will save it as "download.txt"


  1. Download rewrite-filter filter34204.pkg.encrypted
  2. Install filter on IVE admin console at Resource Policies > Rewriting > Filters > Add Filter.
  3. Modify URL and save changes.  See example below.

Cautions / Notes:
  • Disabling content-disposition on IVE rewrite engine affects Internet Explorer and other supported browsers, hence use it with caution.
  • Even after the filter is installed, the file name will append DanaInfo string. So Firefox will save as ,日本語ファイル.log instead of 日本語ファイル.log
  • For questions as to how to apply the Rewriting Filters license, refer to: KB10195 - Rewriting Filters – What, When and How


Related Links:




Question or KB ID:



Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.