Commit 248e1211 authored by mso's avatar mso

Version 0.5.1 - 2007-04-15

git-svn-id: svn+ssh://85.214.81.201/srv/svn/repos/idna_convert/trunk@3155 35e3bc58-21ef-11dd-9788-dfbd14258a26
parent c8b08211
......@@ -150,7 +150,7 @@ input {
</td>
</tr>
</table><br />
<span id="copy">Version used: 0.5.0; (c) <a href="http://phlylabs.de">phlyLabs</a> 2004-2007</span>
<span id="copy">Version used: 0.5.1; (c) <a href="http://phlylabs.de">phlyLabs</a> 2004-2007</span>
</div>
</td>
</tr>
......
<?php
/* ------------------------------------------------------------------------- */
/* idna_convert.class.php - Encode / Decode Internationalized Domain Names */
/* (c) 2004-2007 phlyLabs, Berlin (http://phlylabs.de) */
/* All rights reserved */
/* v0.5.0 */
/* ------------------------------------------------------------------------- */
// {{{ license
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
......@@ -54,10 +47,10 @@
* ACE input and output is always expected to be ASCII.
*
* @author Matthias Sommerfeld <mso@phlylabs.de>
* @version 0.5.0
* @copyright 2004-2007 phlyLabs Berlin, http://phlylabs.de
* @version 0.5.1
*
*/
class idna_convert
{
/**
......@@ -231,7 +224,7 @@ class idna_convert
.(empty($parsed['user']) ? '' : $parsed['user'].(empty($parsed['pass']) ? '' : ':'.$parsed['pass']).'@')
.$parsed['host']
.(empty($parsed['port']) ? '' : ':'.$parsed['port'])
.$parsed['path']
.(empty($parsed['path']) ? '' : $parsed['path'])
.(empty($parsed['query']) ? '' : '?'.$parsed['query'])
.(empty($parsed['fragment']) ? '' : '#'.$parsed['fragment']);
} else { // parse_url seems to have failed, try without it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment