Closed Bug 1463440 Opened 6 years ago Closed 5 years ago

Support FTP over TLS/SSL (ftps://) URLs in MatchPattern

Categories

(WebExtensions :: Request Handling, enhancement, P5)

57 Branch
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: e7358d9c, Assigned: e7358d9c)

References

Details

Attachments

(1 file)

Right now, MatchPattern permits ftp://, but not FTP over TLS (ftps://) URLs, which is in contrast to http:// also permitting HTTP over TLS (https://).

This bug serves to track the work necessary to add ftps:// to the list of valid WebExtension MatchPattern schemes.
The list of allowed schemes is here: https://searchfox.org/mozilla-central/source/toolkit/components/extensions/MatchPattern.cpp#266

if you're interested in contributing a patch :)
Severity: normal → enhancement
Keywords: good-first-bug
Priority: -- → P5
Mentor: Shane Caraveo (:mixedpuppy) 

If this is your first contribution, please refer to https://wiki.mozilla.org/Add-ons/Contribute/Code on how to get started.
Mentor: mixedpuppy
Given comments in bug 85464, closing.
Mentor: mixedpuppy
Status: NEW → RESOLVED
Closed: 6 years ago
Keywords: good-first-bug
Resolution: --- → WONTFIX
Product: Toolkit → WebExtensions
Assignee: nobody → e7358d9c
Comment on attachment 8998394 [details]
Bug 1463440 - Add FTP over TLS/SSL (ftps://) URLs to MatchPattern

Shane Caraveo (:mixedpuppy) has approved the revision.
Attachment #8998394 - Flags: review+
Re‑opening, as :mixedpuppy approved this.
Status: RESOLVED → REOPENED
Keywords: checkin-needed
Resolution: WONTFIX → ---
Does Firefox actually support FTPS ? If not, there's no point adding this to WebExtensions.
Flags: needinfo?(e7358d9c)
(In reply to Tim Nguyen :ntim from comment #7)
> Does Firefox actually support FTPS ?

Implementation of FTPS is tracked in bug 85464, which :ckerschb closed in bug 85464 comment 35 ☹️

> If not, there's no point adding this to WebExtensions.

As I said in the patch on Phabricator (https://phabricator.services.mozilla.com/D2899#65206), this will at least allow WebExtensions to use the `browser.webRequest` API to intercept FTPS calls.

Also, even if this doesn’t end up actually doing anything, at least we won’t forget to add it to MatchPattern as part of bug 85464.
Flags: needinfo?(e7358d9c)
OK, it should probably be documented then.
Keywords: dev-doc-needed
(In reply to ExE Boss from comment #8)
> (In reply to Tim Nguyen :ntim from comment #7)
> > Does Firefox actually support FTPS ?
> 
> Implementation of FTPS is tracked in bug 85464, which :ckerschb closed in
> bug 85464 comment 35 ☹️
> 
> > If not, there's no point adding this to WebExtensions.
> 
> As I said in the patch on Phabricator
> (https://phabricator.services.mozilla.com/D2899#65206), this will at least
> allow WebExtensions to use the `browser.webRequest` API to intercept FTPS
> calls.
> 
> Also, even if this doesn’t end up actually doing anything, at least we won’t
> forget to add it to MatchPattern as part of bug 85464.

There goes my lack of proper cafination in the morning.  Since we don't actually support ftps then we probably shouldn't add it to matchpattern in a way that makes it potentially work with permissions in a manifest.  So basically, sorry, lets hold off unless there is an actual working use case.
Comment on attachment 8998394 [details]
Bug 1463440 - Add FTP over TLS/SSL (ftps://) URLs to MatchPattern

removing r+
Attachment #8998394 - Flags: review+
Going back to comment 3 and closing again.
Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: