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

dev/core/1412 CiviMail sent via wp-cli and cron mangles mailing urls… #15919

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

kcristiano
Copy link
Member

@kcristiano kcristiano commented Nov 21, 2019

… on WP

Patch created by @christianwach

https://lab.civicrm.org/dev/core/issues/1412

Overview

Starting in 5.19 we have an issue with URLs in CiviMail. If Track links is on the URLs get mangled. Dradt Emails are fine, as well as if you kick off the scheduled job manually (UI or CLI).

However, if cron runs the job the URLS are broken:

Mailing Urls expected:

https://example.org//wp-content/plugins/civicrm/civicrm/extern/url.php?u=19&qid=31

But we get:

https://example.org/home/example/public_html/wp-content/plugins/civicrm/civicrm/extern/url.php?u=19&qid=31

Before

Mangled URLs

After

Proper URls

@civibot
Copy link

civibot bot commented Nov 21, 2019

(Standard links)

@eileenmcnaughton
Copy link
Contributor

I'm giving this MOP as @kcristiano is the reviewer in this case of a patch by @christianwach

@seamuslee001
Copy link
Contributor

Jenkins re test this please

@totten
Copy link
Member

totten commented Nov 21, 2019

For some test coverage, see #15922

@seamuslee001 seamuslee001 merged commit 375ea78 into civicrm:5.20 Nov 21, 2019
@eileenmcnaughton
Copy link
Contributor

We need a 5.19 PR now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants