Unable to get PostData from IRequest #4784
aiqinxuancai
started this conversation in
General
Replies: 1 comment
-
What is the value of https://cefsharp.github.io/api/118.6.x/html/P_CefSharp_IPostData_HasExcludedElements.htm If the value is true then it's likely what you are seeing is expected. If it's false then you'll need to raise an issues at https://github.com/chromiumembedded/cef/issues
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an existing issue for this?
CefSharp Version
123.0.60
Operating System
Windows 10
Architecture
x64
.Net Version
.Net8.0
Implementation
WPF
Reproduction Steps
I have a program embedded with CefSharp, which I use to intercept some POST requests and process them. It has been working well for a long time, but recently it seems that the website has been updated. Without any updates or changes to my program, I am unable to retrieve the data from IRequest's PostData.
This is somewhat strange, as not all PostData cannot be retrieved, only a specific frame request on this website. In the debugging interface, I can see the FormData submitted by the request, but in the code, I cannot retrieve the PostData.
I tried testing with the simplest code possible, and the result was the same.
In Debuging.
In Code.
Expected behavior
Correctly obtaining PostData.
Actual behavior
Unable to get PostData
Regression?
Yes, I encountered this issue in version 95 of CefSharp, and I can still reproduce it after upgrading to version 123.
Known Workarounds
No
Does this problem also occur in the CEF Sample Application
Yes using WPF/OffScreen command line args
Other information
No response
Beta Was this translation helpful? Give feedback.
All reactions