<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; nginx urldecode]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=35530&amp;type=atom" />
	<updated>2014-07-18T06:27:55Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=35530</id>
		<entry>
			<title type="html"><![CDATA[nginx urldecode]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=416463#p416463" />
			<content type="html"><![CDATA[<p>привет. вот код.</p><br /><div class="codebox"><pre><code>location ~* ^/internal_redirect/(.*?)/(.*?)/(.*) {
                internal;
                resolver 8.8.8.8;
             
                set $srv  $1;
                set $fn  $2;
                set $durl $3;
 
                proxy_set_header Host $srv;
 
                proxy_hide_header Content-Disposition;
                add_header Content-Disposition &#039;attachment; filename=&quot;$fn&quot;&#039;;

                proxy_pass http://$durl;
                proxy_max_temp_file_size 0;
        }</code></pre></div><p>Вопрос: каким кодом в конфиге нжинкс декодировать переменную $fn ? </p><p>спс заранее.</p>]]></content>
			<author>
				<name><![CDATA[smert]]></name>
				<uri>https://linuxforum.ru/profile.php?id=33140</uri>
			</author>
			<updated>2014-07-18T06:27:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=416463#p416463</id>
		</entry>
</feed>
