Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-323

National symbols are incorrectly parsed from url resulting module index page to be shown instead of section template

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.1
    • Fix Version/s: 5.0.2-B1
    • Component/s: Front End
    • Labels:
      None

      Description

      During url parsing function mb_strtolower is used to lowercase url and database data, that is matched against it. Problem is, that mb_internral_encoding('UTF-8') function is called after url parsing, when language is already available.

      Because of it mb_strtolower uses default mbstring extension encoding, that in my case was "ISO-8859-1" resulting corrupted url as the result. Because of that only urls parts (between "/") in english were parsed correctly.

      This way if url is "http://www.site.com/products/baskı-urünleri.html" it's only "products" part is parsed and corresponding to that section template is shown.

        Attachments

          Activity

            People

            • Assignee:
              alex Alex
              Reporter:
              alex Alex
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: