Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-21753 add pass-through support for criteria in urls on dedupe pages #11658

Merged
merged 1 commit into from
Apr 16, 2018

Commits on Apr 4, 2018

  1. CRM-21753 add pass-through support for criteria in urls on dedupe pages

    This permits urls such as
     civicrm/contact/dedupefind?reset=1&rgid=4&gid=&limit=&criteria={"contact":{"contact_id":205}}&action=update
    
    The contents of $criteria['contact'] are passed to the contact api to get a list of contacts to find possible
    matches for (acls are applied when generating the match list to both the matched & match list in the next step).
    
    Note that the urls are urlencoded & hence will have %22 rather than a quote so that feels xss safe but I added some
    validation before I figured that part out & I think it still makes sense to keep it.
    eileenmcnaughton committed Apr 4, 2018
    Configuration menu
    Copy the full SHA
    9f54f04 View commit details
    Browse the repository at this point in the history