Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7883

URL Fragments not handled correctly by extern/url.php

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.6
    • Fix Version/s: 3.4.beta
    • Component/s: CiviMail
    • Labels:
      None

      Description

      CRM-7103 introduced a bug with fragment handling.

      By blindly appending & or ? to the end of the url, those url's with fragments were rendering as:
      http://domain.com#fragment?

      ...and some browsers would then look for a named anchor called "fragment?" and not "fragment" - I have attached a patch to handle putting fragments always at the end, and only appending ? or & if there is such a query string to be appended after shifting off "u" and "qid"

      I make use of parse_url, which is PHP5 - but I think that's OK... ?

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              cwells Chris Wells
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified