Closed
Bug 1236381
Opened 9 years ago
Closed 6 years ago
Loading unavailable resources via FTP protocol causes annoying warning dialogs
Categories
(Core Graveyard :: Networking: FTP, defect, P3)
Core Graveyard
Networking: FTP
Tracking
(firefox46 wontfix, firefox66 fixed, firefox67 fixed)
RESOLVED
FIXED
mozilla67
People
(Reporter: xidorn, Assigned: Gijs)
References
Details
(Whiteboard: [necko-backlog])
Attachments
(2 files)
Steps to reproduce:
open a HTML page with a lot of unavailable resources via FTP protocol, e.g. ftp://ftp.iingen.unam.mx/Documentacion/Cluster_TONATIUH/Mathematica.v6/v6/web/documents.wolfram.com/mathematica/Built-inFunctions/GraphicsAndSound/ImportAndExport/AdditionalInformation/Export.html (warning: this would display >50 warning dialogs on Firefox)
Expected result:
No warning dialog would prompt
Actual result:
Over 50 warning dialogs are displayed, and there is no way to stop that
(I'm not sure whether it is a Firefox bug or a Core bug, though)
Reporter | ||
Comment 1•9 years ago
|
||
Actually it isn't necessary to be an HTML page served via FTP. Any page includes resources via FTP could cause this. And this could actually be an infinite dialog attack against Firefox.
Summary: Opening HTML page via FTP protocol with unavailable resources could cause annoying warning dialogs → Loading unavailable resources via FTP protocol causes annoying warning dialogs
Reporter | ||
Comment 2•9 years ago
|
||
This is a simple test case which would show 10 warning dialogs on Firefox because of unavailability of the requested resource.
Reporter | ||
Comment 3•9 years ago
|
||
This is a possible infinite dialog attack against Firefox. Warning: open this attachment at your own risk.
Reporter | ||
Comment 4•9 years ago
|
||
It doesn't seem to be a Firefox bug, but likely a Necko bug.
Component: General → Networking: FTP
Product: Firefox → Core
Reporter | ||
Comment 5•9 years ago
|
||
The prompting happens here: https://dxr.mozilla.org/mozilla-central/rev/29258f59e5456a1a518ccce6b473b50c1173477e/netwerk/protocol/ftp/nsFtpConnectionThread.cpp#1834-1850
It seems necko directly calls UI code to prompt error, which isn't a good practice.
Updated•9 years ago
|
Whiteboard: [necko-backlog]
Comment 6•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 7•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Assignee | ||
Comment 8•6 years ago
|
||
Fixed in bug 1523249.
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox66:
--- → fixed
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Updated•6 years ago
|
Updated•1 year ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•