Open Bug 1566093 Opened 6 years ago Updated 3 years ago

Network Monitor Full URI path

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

Tracking

(firefox68 affected)

Tracking Status
firefox68 --- affected

People

(Reporter: jordan, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

request any resource with a path depth greater than 1

Actual results:

Only see full path if request ends in / or on hover

Expected results:

Full path should be available regardless of trailing slash.

Most RSTful architechtures treat trailing slashes as collections of resources, and a non-trailing path as single resource.

Bug ref 903465 chose a solution to show full path on hover or when uri ends in /

I think it should be the other way around, by showing full path unless a path ends with a file extension (.jpg, .png, .txt etc.) but before a querystring. Or perhaps based on mime type.

/foo/bar -> full path
/foo/bar/ -> full path
/foo/bar/?filter=baz -> full path
/foo/bar?filter=baz -> full path

/foo/bar.baz -> file path
/foo/bar.baz?test=1 -> file path

Apologies for dredging up an issue from half a decade ago. I've never done work on Firefox but if point me in the right direction I might be able to make a PR (with some help)

Ref:
https://bugzilla.mozilla.org/show_bug.cgi?id=903465
https://bugzilla.mozilla.org/show_bug.cgi?id=1048015
https://bugzilla.mozilla.org/show_bug.cgi?id=1024406
https://bugzilla.mozilla.org/show_bug.cgi?id=1162677
https://bugzilla.mozilla.org/show_bug.cgi?id=1127276

Type: defect → enhancement

Hi Jordan,

Thanks for the details. I was able to reproduce the bug on release 68.0 (64-bit). I've chosen a component. If you consider that there's another component that's more proper for this case you may change it.

Best regards, Flor.

Status: UNCONFIRMED → NEW
Component: Untriaged → Netmonitor
Ever confirmed: true
Product: Firefox → DevTools
Version: 68 Branch → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.