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

Keep units from URL used for logout url building, when adding "logout" parameter to it

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.1-RC1
    • Component/s: Url Processing
    • Labels:
      None
    • Change Log Group:
      Fixed
    • Change Log Message:
      The item id (from url) was lost when logout was performed on item detail page.
    • Story Points:
      2
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      In INP-1162 task we've added a way to add "?logout=1" parameter into url of a page, where user is redirected after logout. It is trivial task to do for a regular url, but not so trivial for mod-rewrite one. To do it we need to:

      1. disassemble url
      2. add parameters to it
      3. assemble url back again

      This change however resulted in one side effect, that units, that were used to build original url are discarded during an assembly process.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: