BPU bug - tamper the run to completion does not tamper

3 posts, 0 answers
  1. Rick
    Rick avatar
    2 posts
    Member since:
    May 2011

    Posted 10 Mar 2014 Link to this post

    BPU bootstrap.css correctly breaks on bootstrap. But when I "Break on Response", click the Raw tab, delete the contents, then run to completion, fiddler sends all of the CSS. You can verify it restores the CSS by deleting it, then click another tab , then click back the Raw tab, the CSS is restored. Furthermore, fiddler shows it sent the entire bootstrap.

    "Choose Response" always works correctly (tampers the response).

    If you enter a dozen newlines and some text (asdflj)  in the RAW tab, click another tab, then click RAW,  it will retain the tampering then display:

    HTTP/1.1 200 OK
    Content-Type: text/css
    Last-Modified: Fri, 11 Oct 2013 00:27:46 GMT
    Accept-Ranges: bytes
    ETag: "0ad16b518c6ce1:0"
    Vary: Accept-Encoding
    Server: Microsoft-IIS/8.0
    X-SourceFiles: =?UTF-8?B?Rjpccm1cTXZjTW92aWVSVE1cTXZjTW92aWVSVE1cTXZjTW92aWVcQ29udGVudFxib290c3RyYXAuY3Nz?=
    X-Powered-By: ASP.NET
    Date: Tue, 11 Mar 2014 03:07:08 GMT
    Content-Length: 22


    I've repro'd this on two Win 8.1 boxes with Fiddler Web Debugger (v4.4.6.2)
  2. Eric Lawrence
    Eric Lawrence avatar
    832 posts

    Posted 11 Mar 2014 Link to this post

    This is by-design.
    If you go to the RAW tab and delete literally everything, including the HTTP headers, your response is no longer legal HTTP traffic and thus Fiddler ignores your modification. You can either manually delete just the body text, or you could use the TextView inspector (which doesn't show the headers) to delete the body text.

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

  3. Rick
    Rick avatar
    2 posts
    Member since:
    May 2011

    Posted 11 Mar 2014 in reply to Eric Lawrence Link to this post

    That's it!
Back to Top