New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 672121 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

invalid IP address on localhost HAR

Reported by potoms....@gmail.com, Dec 7 2016

Issue description

Chrome Version       : 54.0.2840.98 (64-bit)
URLs (if applicable) : 
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari:
    Firefox:
         IE:

What steps will reproduce the problem?
(1) open devtools network tab
(2) navigate to a locally hosted page
(3) save as HAR
(4) check the serverIPAddress property

What is the expected result?

"serverIPAddress": "::1"

What happens instead?

"serverIPAddress": "[::1]"

Please provide any additional information below. Attach a screenshot if
possible.

 

Comment 1 by ajha@chromium.org, Dec 8 2016

Labels: M-54
Labels: -Pri-2 Pri-3
Owner: allada@chromium.org
Status: Assigned (was: Unconfirmed)
Handling this isn't really covered in the HAR spec. We could change this, but you may want to handle this on your side too.

allada to weigh in.
It's not literally stated in the spec but I feel like it's not an unreasonable expectation from my side that this property contains a valid IP address at all times.

I found it's remoteIPAddress in the devtools protocol that already contains this strange format, so the issue is actually broader than just the HAR export
https://chromedevtools.github.io/debugger-protocol-viewer/tot/Network/#type-Response

Comment 4 by allada@chromium.org, Jul 20 2017

Status: Fixed (was: Assigned)
This should have been resolved. Please open a new bug if you still experience this.

Thanks!

Sign in to add a comment