FiddlerCore not decoding properly

1 Answer 82 Views
Miscellaneous
Methe
Top achievements
Rank 1
Methe asked on 01 Nov 2022, 10:53 AM

Hello does anyone else have an issue with the latest FiddlerCore 5.0.2 not decoding responses correctly?

It captures HTTPS traffic fine but runing the session.utilDecodeResponse() method returns garbage.

Interestingly the windows app works fine

Any thoughts?

1 Answer, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 03 Nov 2022, 09:13 AM

Hello Methe Crain,

 

We are not observing irregularities related to the latest version of FiddlerCore and decoding capabilities. Can you please elaborate more on your issue by specifying what is happening? If possible, provide a sample endpoint (or even a basic demo app) that reproduces the issue so that we can investigate further.

Here is a very basic snippet that, we've used to confirm that the utilDecodeResponse method is working as expected.

FiddlerApplication.BeforeResponse += session =>
{

    if (session.uriContains("example.com"))
    {
        session.utilDecodeResponse();
        session.utilReplaceInResponse("<h1>", "<h3><i>");
        session.utilReplaceInResponse("</h1>", "</i></h3>");
    }

    // Important: You MUST also set session.bBufferResponse = true inside the BeforeRequest event handler above.
};

 

Regards,
Nick Iliev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Miscellaneous
Asked by
Methe
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Share this question
or