Closed
Bug 1463440
Opened 7 years ago
Closed 6 years ago
Support FTP over TLS/SSL (ftps://) URLs in MatchPattern
Categories
(WebExtensions :: Request Handling, enhancement, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: e7358d9c, Assigned: e7358d9c)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
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.
Comment 1•7 years ago
|
||
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 :)
Updated•7 years ago
|
Comment 2•6 years ago
|
||
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
Comment 3•6 years ago
|
||
Given comments in bug 85464, closing.
Mentor: mixedpuppy
Status: NEW → RESOLVED
Closed: 6 years ago
Keywords: good-first-bug
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Toolkit → WebExtensions
Comment 5•6 years ago
|
||
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.
Comment 7•6 years ago
|
||
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)
Assignee | ||
Comment 10•6 years ago
|
||
(In reply to Tim Nguyen :ntim from comment #9)
> OK, it should probably be documented then.
Way ahead of you (all done within a week of opening this bug):
- https://github.com/mdn/browser-compat-data/commit/b8c7e1b9133d6dafc479fd140ba55ae3b0bf85d2
- https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns#scheme
- https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns#Examples
- https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns#Browser_compatibility
Comment 11•6 years ago
|
||
(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.
Keywords: checkin-needed,
dev-doc-needed
Comment 12•6 years ago
|
||
Comment on attachment 8998394 [details]
Bug 1463440 - Add FTP over TLS/SSL (ftps://) URLs to MatchPattern
removing r+
Attachment #8998394 -
Flags: review+
Comment 13•6 years ago
|
||
Going back to comment 3 and closing again.
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•