Closed ahn9807 closed 4 weeks ago
Hi.
Seems good but second patch will be better If use wfUrlProtocols
that mentioned by you, and first patch may not required.
We are welcome to PR, feel free to open.
감사합니다! first patch와 같은 경우는 parsing에러때문에 필요하다고 생각하는데, 수정하는것이 좋아 보입니다. key가 site이고 value가 https://xxx.com/q=asdfasdf 와 같은 링크는 파싱에러가 발생합니다. 확인 부탁드려도 될까요?
아 그리고 wrUrlProtocols와 같은 경우에는, 원래 부터 있던 주석입니다.
@Hoto-Cocoa
Fixed in #28.
Hello, thank you very much for creating the Liberty skin.
Currently, there is an issue where the site is not hyperlinked properly due to an HTML parsing error when '=' and '&' are included in the HTML.
For instance, using "https://papago.naver.net/website?locale=ko&source=ko&target=en&url=https://xxx" creates parsing errors at the "=", and due to incorrect usages of the "htmlentities(): function, the result is "https://papago.naver.net/website?".
Since I am not familiar with PHP, I applied a simple patch as follows, but I am concerned about any potential security vulnerabilities.
If you could confirm, I will apply the related changes and submit a pull request.
Thank you.