Changeset 883 for trunk/Application


Ignore:
Timestamp:
Apr 8, 2020, 1:22:26 AM (5 years ago)
Author:
chronos
Message:
  • Fixed: URL decoding was not working correctly for other languages.
Location:
trunk/Application
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/Core.php

    r880 r883  
    152152    $Remaining = substr($Target, strlen($this->BaseURL));
    153153    $TargetParts = explode('/', $Remaining);
     154    if ((count($TargetParts) > 0) and ($TargetParts[0] == ''))
     155      array_splice($TargetParts, 0, 1);
    154156    if (count($TargetParts) > 0)
    155157    {
    156158      if (in_array($TargetParts[0], $this->LinkLocaleExceptions))
    157159      {
    158         return $this->BaseURL.$Target;
    159       }
    160     }
    161     return $this->LinkLocale($Target);
     160        $Result = $this->BaseURL.$Target;
     161      } else $Result = $this->LinkLocale($Target);
     162    } else $Result = $this->LinkLocale($Target);
     163    return $Result;
    162164  }
    163165
  • trunk/Application/Version.php

    r882 r883  
    77
    88$Version = '1.0';
    9 $Revision = 882; // Subversion revision
     9$Revision = 883; // Subversion revision
    1010$DatabaseRevision = 873; // Database structure revision
    1111$ReleaseDate = strtotime('2020-04-08');
Note: See TracChangeset for help on using the changeset viewer.