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

Handle URL-quoted source URLs #721

Open
jwhitlock opened this issue Jun 4, 2021 · 0 comments
Open

Handle URL-quoted source URLs #721

jwhitlock opened this issue Jun 4, 2021 · 0 comments

Comments

@jwhitlock
Copy link
Contributor

Some newsletter subscriptions are arriving with a URL-quoted source, such as:

https%3A%2F%2Fsnippets.mozilla.com%2Fshow%2F6261

CTMS rejects these with a validation error (status code 422).

These strings can be converted to a valid URL with urllib.parse.unquote. If it can't be fixed upstream, these quoted strings could be detected and converted in basket.news.backends.ctms.to_vendor.

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

No branches or pull requests

1 participant