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

/x/net/http upgrade breaking change #16

Merged
merged 3 commits into from
May 2, 2024
Merged

Conversation

gzuidhof
Copy link
Contributor

I added a test case that breaks when you upgrade golang.org/x/net, which broke the Hermes e-mail templating package downstream.

This requires a downstream update of goquery, and /x/net/http. I believe that /x/net/http was resolved, but Goquery hasn't upgraded yet PuerkitoBio/goquery#391. After it has, the version here should be bumped too.

@gzuidhof gzuidhof changed the title /x/net/http upgrade breaks /x/net/http upgrade breaking change Oct 13, 2022
@bensie
Copy link

bensie commented Nov 10, 2022

Seeing the same issue here, where conditional comments are broken:

Old output

<!--[if mso]>\n      <style type=\"text/css\">\n...

New (bad) output

<!--[if mso]&gt;\n      &lt;style type=&#34;text/css&#34;&gt;\n...

@vanng822
Copy link
Owner

Can anyone help me following those issues and upgrades? thanks

@bensie
Copy link

bensie commented Nov 19, 2022

After additional digging, this issue is not resolved in x/net. I've added a note to golang/go#46261 indicating where the bug was introduced.

@vanng822
Copy link
Owner

vanng822 commented Apr 25, 2024

dependabot upgraded golang.org/x/net #20 and it seems work fine?

@vanng822
Copy link
Owner

Look like tests passed if I upgraded golang.org/x/net to v0.23.0. Could you try it out then I can merge this instead of of #20

@vanng822
Copy link
Owner

vanng822 commented May 2, 2024

Look like it works fine so I will merge.

@vanng822 vanng822 merged commit 0eec845 into vanng822:master May 2, 2024
1 check passed
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.

3 participants