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

Fix case rewrite html #21

Merged
merged 3 commits into from
Jan 11, 2020
Merged

Fix case rewrite html #21

merged 3 commits into from
Jan 11, 2020

Conversation

ikreymer
Copy link
Member

Fix rewriteHTML toLowerCase() check, ensure rewritten html also lowercase (as innerHTML/outerHTML will always have lowercase tags)
Fix test, use localhost for service-worker-allowed header

…ing if end tag was already present,

otherwise end tag may be inadvertantly removed if original html was not lower case!
should fix rewriting issue in webrecorder/pywb#527
@ikreymer ikreymer merged commit b8a7535 into master Jan 11, 2020
ikreymer added a commit to webrecorder/pywb that referenced this pull request Jan 11, 2020
- dash rewrite fix for fb: when rewriting, match quoted '"dash_prefetched_representation_ids"' as well as w/o quotes,
update tests to ensure rewriting both old and new formats
- wombat update to fix #527: ensure document.write() doesn't accidentally remove end-tag if end-tag was not lowercase (see webrecorder/wombat#21)
ikreymer added a commit to webrecorder/pywb that referenced this pull request Jan 11, 2020
* rewrite fixes:
- dash rewrite fix for fb: when rewriting, match quoted '"dash_prefetched_representation_ids"' as well as w/o quotes,
update tests to ensure rewriting both old and new formats
- wombat update to fix #527: ensure document.write() doesn't accidentally remove end-tag if end-tag was not lowercase (see webrecorder/wombat#21)

* tests: fix recorder cookie filtering test, use https://www.google.com/ for testing

* appveyor: fix appveyor builds
@ikreymer ikreymer deleted the fix-case-rewrite-html branch January 20, 2020 06:40
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.

1 participant