salvadordf / WebView4Delphi

WebView4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows.
https://www.briskbard.com/forum/
MIT License
280 stars 56 forks source link

View Source missing characters #59

Closed Crayovan closed 3 months ago

Crayovan commented 3 months ago

This (and below for the RetrieveText function) should use encodeURIComponent instead of encodeURI to avoid losing the + characters (they get converted to spaces).

https://github.com/salvadordf/WebView4Delphi/blob/2c7dec03305b1fbb966d81911e3c4179d3e1294b/source/uWVBrowserBase.pas#L6215

salvadordf commented 3 months ago

Thanks for reporting this issue!

I just uploaded the fix in TWVBrowserBase.RetrieveHTML and TWVBrowserBase.RetrieveText.

Please, download WebView4Delphi from GitHub again.