/
[debugger] Debugger is showing In-Portal-agnostic superglobals [5.2.2-B2]

[debugger] Debugger is showing In-Portal-agnostic superglobals [5.2.2-B2]

The Debugger component of the In-Portal shows various information about Web Request, including, but not limited to:

  • web page URL being accessed
  • web request data (get, post, cookie)
  • executed SQL queries
  • various benchmark times (how long specific parts of the In-Portal initialized took)

The get/post/cookie values, shown by the Debugger are taken directly from the $_GET, $_POST, $_COOKIE superglobal variables ignoring the fact, that In-Portal itself might have altered their values internally (e.g. decrypted cookies).

Solution

  1. remember position, in Debugger report, where web request data should be added
  2. later, during "\Debugger::printReport" method call also call "\Debugger::appendRequest", but make it inject data into the previously remembered position

Related Discussions

Related Tasks

INP-1825 - Getting issue details... STATUS