ma1 pushed to branch tor-browser-128.1.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
8b57c078 by hackademix at 2024-08-20T10:50:47+02:00
fixup! Bug 42835: Create an actor to filter file data transfers
Bug 43064: Make file filtering more specific
- - - - -
1 changed file:
- toolkit/actors/FilesFilterChild.sys.mjs
Changes:
=====================================
toolkit/actors/FilesFilterChild.sys.mjs
=====================================
@@ -12,11 +12,14 @@ ChromeUtils.defineLazyGetter(lazy, "console", () => {
export class FilesFilterChild extends JSWindowActorChild {
handleEvent(event) {
+ if (!Services.prefs.getBoolPref("browser.filesfilter.enabled", true)) {
+ return;
+ }
// drop or paste
const { composedTarget } = event;
const dt = event.clipboardData || event.dataTransfer;
- if (dt.files.length) {
+ if ([...dt.files].some(f => f.mozFullPath)) {
if (
["HTMLInputElement", "HTMLTextAreaElement"].includes(
ChromeUtils.getClassName(composedTarget)
@@ -25,7 +28,7 @@ export class FilesFilterChild extends JSWindowActorChild {
event.preventDefault();
lazy.console.log(
`Preventing path leak on ${event.type} for ${[...dt.files]
- .map(f => f.name)
+ .map(f => `${f.name} (${f.mozFullPath})`)
.join(", ")}.`
);
}
@@ -33,7 +36,7 @@ export class FilesFilterChild extends JSWindowActorChild {
}
// "Paste Without Formatting" (ctrl+shift+V) in HTML editors coerces files into paths
- if (!(event.clipboardData && dt.getData("text"))) {
+ if (!(event.clipboardData && /[\/\\]/.test(dt.getData("text")))) {
return;
}
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/8b57c07…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/8b57c07…
You're receiving this email because of your account on gitlab.torproject.org.
morgan pushed to branch maint-13.5 at The Tor Project / Applications / tor-browser-build
Commits:
ec572810 by Pier Angelo Vendrame at 2024-08-19T20:13:55+00:00
Bug 41206: Pass the number of processors to GeckoView's mozconfig.
- - - - -
1 changed file:
- projects/geckoview/build
Changes:
=====================================
projects/geckoview/build
=====================================
@@ -37,6 +37,7 @@ cd /var/tmp/build/[% project %]-[% c("version") %]
cat > .mozconfig << 'MOZCONFIG_EOF'
. $topsrcdir/mozconfig-[% c("var/osname") %]
+mk_add_options MOZ_PARALLEL_BUILD=[% c("num_procs") %]
export MOZ_INCLUDE_SOURCE_INFO=1
export MOZ_SOURCE_REPO="[% c('var/gitlab_project') %]"
export MOZ_SOURCE_CHANGESET=[% c("var/git_commit") %]
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/e…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/e…
You're receiving this email because of your account on gitlab.torproject.org.
morgan pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
48cb2828 by Morgan at 2024-08-19T18:49:55+00:00
Bug 41186: Prepare Tor Browser 14.0a2 (build2)
- - - - -
2 changed files:
- projects/browser/Bundle-Data/Docs-TBB/ChangeLog.txt
- rbm.conf
Changes:
=====================================
projects/browser/Bundle-Data/Docs-TBB/ChangeLog.txt
=====================================
@@ -1,4 +1,4 @@
-Tor Browser 14.0a2 - August 16 2024
+Tor Browser 14.0a2 - August 19 2024
* All Platforms
* Updated NoScript to 11.4.34
* Bug 42759: CI: remove localization file names that are in neither 14.0 nor 13.5 branches [tor-browser]
@@ -80,7 +80,9 @@ Tor Browser 14.0a2 - August 16 2024
* Bug 41172: Refactor the android-toolchain project [tor-browser-build]
* Bug 41178: Force IPv4 when downloading in fix_gradle_deps.py [tor-browser-build]
* Bug 41200: Remove allowed_addons.json and the related tools [tor-browser-build]
+ * Bug 41206: GeckoView ignores the number of processors [tor-browser-build]
* Bug 41210: Use tor-expert-bundle-aar in geckoview/build_apk [tor-browser-build]
+ * Bug 41211: The Android license file is not deterministic anymore [tor-browser-build]
* Bug 41214: Update geckoview/config to be more like firefox/config [tor-browser-build]
* Bug 41217: Update realprep.py script to handle Firefox 128-based Tor Browser Android [tor-browser-build]
=====================================
rbm.conf
=====================================
@@ -74,10 +74,10 @@ buildconf:
var:
torbrowser_version: '14.0a2'
- torbrowser_build: 'build1'
+ torbrowser_build: 'build2'
# This should be the date of when the build is started. For the build
# to be reproducible, browser_release_date should always be in the past.
- browser_release_date: '2024/08/16 00:08:31'
+ browser_release_date: '2024/08/19 18:48:21'
browser_release_date_timestamp: '[% USE date; date.format(c("var/browser_release_date"), "%s") %]'
updater_enabled: 1
build_mar: 1
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/4…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/4…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
2fb90e5f by Pier Angelo Vendrame at 2024-08-19T15:29:08+02:00
Bug 41206: Pass the number of processors to GeckoView's mozconfig.
- - - - -
1 changed file:
- projects/geckoview/build
Changes:
=====================================
projects/geckoview/build
=====================================
@@ -42,6 +42,7 @@ cd /var/tmp/build/[% project %]-[% c("version") %]
cat > .mozconfig << 'MOZCONFIG_EOF'
. $topsrcdir/mozconfig-[% c("var/osname") %]
+mk_add_options MOZ_PARALLEL_BUILD=[% c("num_procs") %]
export MOZ_INCLUDE_SOURCE_INFO=1
export MOZ_SOURCE_REPO="[% c('var/gitlab_project') %]"
export MOZ_SOURCE_CHANGESET=[% c("var/git_commit") %]
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/2…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/2…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-115.14.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
c76183e2 by Pier Angelo Vendrame at 2024-08-19T09:31:18+02:00
fixup! Bug 40562: Added Tor Browser preferences to 000-tor-browser.js
Bug 42596: Add preferences for log levels.
Added a comment to start a section where we can put the various default
log levels.
- - - - -
c02100c4 by Pier Angelo Vendrame at 2024-08-19T09:32:48+02:00
fixup! Bug 30237: Add v3 onion services client authentication prompt
Bug 42596: Add preferences for log levels.
- - - - -
1 changed file:
- browser/app/profile/000-tor-browser.js
Changes:
=====================================
browser/app/profile/000-tor-browser.js
=====================================
@@ -108,3 +108,6 @@ pref("extensions.torlauncher.tordatadir_path", "");
pref("extensions.torlauncher.bridgedb_front", "www.phpmyadmin.net");
pref("extensions.torlauncher.bridgedb_reflector", "https://1723079976.rsc.cdn77.org");
pref("extensions.torlauncher.moat_service", "https://bridges.torproject.org/moat");
+
+// Log levels
+pref("browser.onionAuthPrompt.loglevel", "Warn");
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/1f0b8c…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/1f0b8c…
You're receiving this email because of your account on gitlab.torproject.org.