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

Adding WebUtlity.HtmlDecode to get rid of valid HTML but invalid XML in filenames #60

Closed
wants to merge 1 commit into from
Closed

Adding WebUtlity.HtmlDecode to get rid of valid HTML but invalid XML in filenames #60

wants to merge 1 commit into from

Conversation

CeriQ
Copy link

@CeriQ CeriQ commented May 9, 2018

Adding WebUtlity.HtmlDecode to get rid of valid HTML but invalid XML escapes when uploading images with escaped filenames(ä in my test case). Should fix #48.

…escapes when uploading images with escaped filenames(ä in my test case).
@CeriQ
Copy link
Author

CeriQ commented May 9, 2018

Actually, reading the tag into a XML document just to grab 2 attributes isn't the most efficient, but rolling your own actually good html tag parser isn't really an option either and I'd rather not add more dependencies(to for example HtmlAgilityPack) since I know how Mads feels about unnecessary dependencies. Parsing newly added files isn't something that really comes up that often so it shouldn't be a problem.

@CeriQ
Copy link
Author

CeriQ commented Oct 1, 2018

Since nothing appears to be happening with this PR, I'm closing it to remove it from the open list.

@CeriQ CeriQ closed this Oct 1, 2018
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.

Inserting image causes app to crash and get 404 error
1 participant