If response output has '%debug' in text, it will convert to Şbug in Preview Tag
Reported by
hknguye...@gmail.com,
Oct 26
|
|||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Steps to reproduce the problem: 1. Create simple test.php file like this: <?php echo '%debug'; 2. Run that file on browser with DevTools What is the expected behavior? On Response Tab and Preview Tab, we just see: %debug What went wrong? On Response Tab, we can see: %debug But on Preview Tab, it convert to: Şbug Did this work before? N/A Chrome version: 70.0.3538.77 Channel: stable OS Version: 10.0 Flash Version: Same problem on Version 69.0.3497.100 and Version 70.0.3538.77
,
Oct 26
hknguyenvu@ Thanks for the issue. Request you to provide a sample file where the issue can be reproduced, which will help in further triaging of the issue. Thanks..
,
Oct 26
Yes, just very simple code to reproduce
,
Oct 26
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 26
,
Nov 5
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b8265a0ceb8abec5b0d9374e87d49ceaba10f25f commit b8265a0ceb8abec5b0d9374e87d49ceaba10f25f Author: Joey Arhar <jarhar@chromium.org> Date: Mon Nov 05 20:07:17 2018 [DevTools] Detect encoding to use for html previews Bug: 899128 Change-Id: I6275ce55fec18dcba45c8cbb085a1eea45b5fba6 Reviewed-on: https://chromium-review.googlesource.com/c/1310564 Commit-Queue: Joey Arhar <jarhar@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#605433} [add] https://crrev.com/b8265a0ceb8abec5b0d9374e87d49ceaba10f25f/third_party/WebKit/LayoutTests/http/tests/devtools/network/html-preview-encoding-expected.txt [add] https://crrev.com/b8265a0ceb8abec5b0d9374e87d49ceaba10f25f/third_party/WebKit/LayoutTests/http/tests/devtools/network/html-preview-encoding.js [add] https://crrev.com/b8265a0ceb8abec5b0d9374e87d49ceaba10f25f/third_party/WebKit/LayoutTests/http/tests/devtools/network/resources/content-type-iso.php [add] https://crrev.com/b8265a0ceb8abec5b0d9374e87d49ceaba10f25f/third_party/WebKit/LayoutTests/http/tests/devtools/network/resources/content-type-none.php [add] https://crrev.com/b8265a0ceb8abec5b0d9374e87d49ceaba10f25f/third_party/WebKit/LayoutTests/http/tests/devtools/network/resources/content-type-utf8.php [modify] https://crrev.com/b8265a0ceb8abec5b0d9374e87d49ceaba10f25f/third_party/blink/renderer/devtools/front_end/network/RequestPreviewView.js [modify] https://crrev.com/b8265a0ceb8abec5b0d9374e87d49ceaba10f25f/third_party/blink/renderer/devtools/front_end/sdk/NetworkRequest.js
,
Nov 5
I submitted a fix, it should be visible in Canary within 24 hours |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by hknguye...@gmail.com
, Oct 26