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

Encoding can only be set once #233

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Encoding can only be set once #233

merged 1 commit into from
Nov 8, 2024

Conversation

kornelski
Copy link
Contributor

Per HTML5, only the first one counts.

I've also replaced AtomicUsize with AtomicPtr to avoid lookup table.

src/base/encoding.rs Outdated Show resolved Hide resolved
src/selectors_vm/attribute_matcher.rs Outdated Show resolved Hide resolved
src/rewriter/mod.rs Outdated Show resolved Hide resolved
@inikulin inikulin merged commit a161bb3 into cloudflare:master Nov 8, 2024
4 checks passed
@kornelski kornelski deleted the enc branch November 8, 2024 14:04
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