gecko-dev/browser/components/shell
Michael Hughes e9fb897ab6 Bug 1863636 - adding filename validation to prevent callers of new functions from creating bad file paths r=nshukla,gstoll
As per comments on this diff about getTaskbarTabShortcutPath () I added validation on the C++ side to ensure that the shortcut name passed in can be used as a filename. Tested the changes in the browser console window and confirmed that regular names "abcd" work and confirmed that bad names ("..\\something", ".\\s", ".s", "some?") failed and generated an exception in Javascript.

Differential Revision: https://phabricator.services.mozilla.com/D199590
2024-01-26 00:10:40 +00:00
..
content
search-provider-files
test Bug 1873732 - remove outdated manifest conditions and use consistent conditions. r=aryx,necko-reviewers,jgilbert,settings-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,dom-storage-reviewers,sgalich,kershaw,nchevobbe,janv,dao 2024-01-25 00:27:05 +00:00
HeadlessShell.sys.mjs
jar.mn
moz.build Bug 1859869 - batch 12 - browser/* xpcshell .ini manifests to .toml. r=aryx,extension-reviewers,credential-management-reviewers,search-reviewers,sessionstore-reviewers,places-reviewers,issammani,Standard8,robwu,sclements 2023-11-21 17:35:23 +00:00
nsGNOMEShellDBusHelper.cpp
nsGNOMEShellDBusHelper.h
nsGNOMEShellSearchProvider.cpp
nsGNOMEShellSearchProvider.h
nsGNOMEShellService.cpp
nsGNOMEShellService.h
nsIGNOMEShellService.idl
nsIMacShellService.idl Bug 1867080 - Implemented macOS functionality to find all other installed applications which support a protocol r=mhughes 2023-12-05 05:38:34 +00:00
nsIShellService.idl
nsIWindowsShellService.idl Bug 1863636 - Part 2: Added native code changes for taskbar tabs r=win-reviewers,mhughes,gstoll 2024-01-22 22:00:13 +00:00
nsMacShellService.cpp Bug 1867080 - Implemented macOS functionality to find all other installed applications which support a protocol r=mhughes 2023-12-05 05:38:34 +00:00
nsMacShellService.h
nsShellService.h
nsToolkitShellService.h
nsWindowsShellService.cpp Bug 1863636 - adding filename validation to prevent callers of new functions from creating bad file paths r=nshukla,gstoll 2024-01-26 00:10:40 +00:00
nsWindowsShellService.h
ScreenshotChild.sys.mjs
ShellService.sys.mjs Bug 1858729 - Add Edge identifier AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723 r=nalexander 2023-12-13 03:11:33 +00:00
WindowsDefaultBrowser.cpp
WindowsDefaultBrowser.h
WindowsUserChoice.cpp Bug 1870047, Bug 1870895 - Fix for 1-click set to default on MSIX builds causing the default browser to become Edge r=nalexander 2024-01-05 21:29:34 +00:00
WindowsUserChoice.h Bug 1870047, Bug 1870895 - Fix for 1-click set to default on MSIX builds causing the default browser to become Edge r=nalexander 2024-01-05 21:29:34 +00:00