Skip to content

Escape HTML tags in the comment so bugzilla doesn't return an error#548

Merged
jgraham merged 1 commit into
mainfrom
autowebcompat-comment-fix
Jul 3, 2026
Merged

Escape HTML tags in the comment so bugzilla doesn't return an error#548
jgraham merged 1 commit into
mainfrom
autowebcompat-comment-fix

Conversation

@ksy36

@ksy36 ksy36 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Been getting this error:

[2026-07-03, 16:48:04 UTC] {pod_manager.py:477} INFO - [base] INFO:httpx:HTTP Request: POST https://bugzilla.mozilla.org/rest/bug/2051953/attachment "HTTP/2 406 Not Acceptable"
[2026-07-03, 16:48:04 UTC] {pod_manager.py:477} INFO - [base] ERROR:root:Expecting value: line 1 column 1 (char 0)

For a comment containing <iframe src=\\"\\" data-athena-consent-src=\\"https://www.youtube.com/embed/...\\">

Checklist for reviewer:

  • Commits should reference a bug or github issue, if relevant (if a bug is referenced, the pull request should include the bug number in the title)

  • Scan the PR and verify that no changes (particularly to .circleci/config.yml) will cause environment variables (particularly credentials) to be exposed in test logs

  • Ensure the container image will be using permissions granted to telemetry-airflow responsibly.

@ksy36 ksy36 requested a review from a team as a code owner July 3, 2026 17:08
@ksy36 ksy36 requested a review from jgraham July 3, 2026 17:08
@jgraham jgraham merged commit b9514ad into main Jul 3, 2026
3 checks passed
@jgraham jgraham deleted the autowebcompat-comment-fix branch July 3, 2026 17:12
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

Successfully merging this pull request may close these issues.

2 participants