<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[PunBB Forums - if path of punbb is unicode login and logout does not work.]]></title>
	<link rel="self" href="http://punbb.informer.com/forums/feed/atom/topic/20112/"/>
	<updated>2008-10-25T07:47:52Z</updated>
	<generator>PunBB</generator>
	<id>http://punbb.informer.com/forums/topic/20112/if-path-of-punbb-is-unicode-login-and-logout-does-not-work/</id>
		<entry>
			<title type="html"><![CDATA[Re: if path of punbb is unicode login and logout does not work.]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/118583/#p118583"/>
			<content type="html"><![CDATA[<p>Have you got the idea for the correct fix?</p><p>In fact, the problem URL parts should be encoded before they are given to the redirect() function. Otherwise, we have to parse the URL and try to guess what parts should be urlencoded.</p>]]></content>
			<author>
				<name><![CDATA[Anatoly]]></name>
				<uri>http://punbb.informer.com/forums/user/12152/</uri>
			</author>
			<updated>2008-10-25T07:47:52Z</updated>
			<id>http://punbb.informer.com/forums/post/118583/#p118583</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[if path of punbb is unicode login and logout does not work.]]></title>
			<link rel="alternate" href="http://punbb.informer.com/forums/post/118580/#p118580"/>
			<content type="html"><![CDATA[<p>if path of punbb is unicode login and logout does not work.</p><p>it is because redirecting with meta tag for refreshing does not work. if path in it is urlencoded (like &quot;%20&quot;) it works.<br />i have tested this:<br />try make index.php file in localhost/test/метарефрешуникод/ folder with this content:<br />&lt;meta http-equiv=&quot;refresh&quot; content=&quot;5;URL=http://localhost/test/метарефрешуникод/index.php&quot; /&gt;</p><p>it does not work.<br />and then try this:<br />&lt;meta http-equiv=&quot;refresh&quot; content=&quot;5;URL=http://localhost/test/&lt;? echo rawurlencode(&#039;метарефрешуникод&#039;);?&gt;/index.php&quot; /&gt;</p><p>that works.</p><p>that redirecting code of punbb is in include/functions.php in function &quot;redirect&quot;.<br />that place is:<br />&lt;meta http-equiv=&quot;refresh&quot; content=&quot;&lt;?php echo $pun_config[&#039;o_redirect_delay&#039;] ?&gt;;URL=&lt;?php echo str_replace(array(&#039;&lt;&#039;, &#039;&gt;&#039;, &#039;&quot;&#039;), array(&#039;&amp;lt;&#039;, &#039;&amp;gt;&#039;, &#039;&amp;quot;&#039;), $destination_url) ?&gt;&quot; /&gt;</p>]]></content>
			<author>
				<name><![CDATA[qdb]]></name>
				<uri>http://punbb.informer.com/forums/user/13314/</uri>
			</author>
			<updated>2008-10-25T07:23:29Z</updated>
			<id>http://punbb.informer.com/forums/post/118580/#p118580</id>
		</entry>
</feed>
