Skip to content

Commit

Permalink
Remove invalid chars from UTM params on /firefox/accounts/features/ C…
Browse files Browse the repository at this point in the history
…TAs (Fixes mozilla#5870) (mozilla#5871)
  • Loading branch information
alexgibson authored and jpetto committed Jul 5, 2018
1 parent b7cdf53 commit 496eb8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bedrock/base/templates/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,9 @@ <h3>{{ _('Your download link was sent.') }}</h3>
{# Parameters for accounts.firefox.com link #}
{% set service = 'sync' %}
{% set context = 'fx_desktop_v3' %}
{% set entrypoint = 'mozilla.org:' + entrypoint %}
{% set entrypoint = 'mozilla.org-' + entrypoint %}
{% if content %}
{% set utm_content = content %}
{% set utm_content = content.replace('/', '%2F') %}
{% else %}
{% set utm_content = request.path_info.replace('/', '%2F') %}
{% endif %}
Expand Down

0 comments on commit 496eb8f

Please sign in to comment.