User1469672466 posted
Hi all,
I am using Redmine 3.2 in production for around 3 month with HttpPlatformHandler, using Thin webserver in the background. It works well.
The only issue I have is when I want to download a file attached in redmine with special characters in its name (like é è à - sorry I am French), the file downloads but the filename is broken. For example , character "é"
become "é"
If I connect directly to the thin instance in the background, then the file name is fine. It seems that the HttpPlatformHandler is breaking the filename.
For those who are interested, here is my web.config relevant section :
<handlers>
<add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" requireAccess="Script" />
</handlers>
<httpPlatform stdoutLogEnabled="true" stdoutLogFile="c:\inetpub\redmine\log\rails.log" processPath="C:\Ruby200\bin\ruby.exe" arguments="C:\inetpub\redmine\GEM_HOME\bin\thin -e production -p %HTTP_PLATFORM_PORT% -c 'C:\inetpub\redmine' start" startupTimeLimit="120" startupRetryCount="5">
<environmentVariables>
<environmentVariable name="HOME" value="c:\inetpub\redmine" />
<environmentVariable name="HOMEDRIVE" value="c:" />
<environmentVariable name="HOMEPATH" value="\inetpub\redmine" />
<environmentVariable name="GEM_HOME" value="c:\inetpub\redmine\GEM_HOME" />
<environmentVariable name="GEM_PATH" value="c:\inetpub\redmine\GEM_HOME" />
<environmentVariable name="RAILS_ENV" value="production" />
</environmentVariables>
</httpPlatform>
Any idea to solve this ?
Thanks
Pierre