Projects STRLCPY autorize Commits 310c1e3b
🤬
  • Fixed bug where extraneous newline at the end of requests when no temporary headers are added.

  • Loading...
  • terminal Junkie committed 2 years ago
    310c1e3b
    1 parent e658e1cc
  • ■ ■ ■ ■ ■ ■
    helpers/http.py
    skipped 57 lines
    58 58   if not queryFlag:
    59 59   # fix missing carriage return on *NIX systems
    60 60   replaceStringLines = self.replaceString.getText().split("\n")
    61  -
    62 61   for h in replaceStringLines:
    63  - headers.append(h)
     62 + if h == "": # Logic to fix extraneous newline at the end of requests when no temporary headers are added
     63 + pass
     64 + else:
     65 + headers.append(h)
    64 66  
    65 67   msgBody = messageInfo.getRequest()[requestInfo.getBodyOffset():]
    66 68   
    skipped 75 lines
Please wait...
Page is in error, reload to recover