Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/remove-whitespace-before-semicolon' of git://git…
Browse files Browse the repository at this point in the history
…hub.com/localheinz/zf2 into hotfix/small-fixes
  • Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hostname.php
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ protected function decodePunycode($encoded)
$char = 0x80;

for ($indexe = ($separator) ? ($separator + 1) : 0; $indexe < $lengthe; ++$lengthd) {
for ($old_index = $index, $pos = 1, $key = 36; 1 ; $key += 36) {
for ($old_index = $index, $pos = 1, $key = 36; 1; $key += 36) {
$hex = ord($encoded[$indexe++]);
$digit = ($hex - 48 < 10) ? $hex - 22
: (($hex - 65 < 26) ? $hex - 65
Expand Down

0 comments on commit a6c387b

Please sign in to comment.