Accepting request 1217329 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/1217329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/epiphany?expand=0&rev=214
This commit is contained in:
2024-10-23 19:14:07 +00:00
committed by Git OBS Bridge
7 changed files with 20 additions and 42 deletions

View File

@@ -3,7 +3,7 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/epiphany.git</param>
<param name="revision">47.1</param>
<param name="revision">47.2</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df5583581dcc84ef1ebbf9005c4040b28329d74bb61c957d9384bc7a18ca379e
size 23943693

3
epiphany-47.2.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5e07eb90d567dda5972ea8098c0b2b21ec278a8e68839d41be575961d9dba252
size 23942157

View File

@@ -1,32 +0,0 @@
From 292581fba4847db476eeb04dbc869fefe50ec973 Mon Sep 17 00:00:00 2001
From: Alynx Zhou <alynx.zhou@gmail.com>
Date: Mon, 21 Oct 2024 10:46:05 +0800
Subject: [PATCH] ephy-session: Correctly parse %-encoded URIs
Because we already have %-encoded URIs for sessions, tell GUri don't
encode our URIs anymore by setting `G_URI_FLAGS_ENCODED` flag. Otherwise
GUri will fail to parse them.
Fixes #2500.
---
src/ephy-session.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/ephy-session.c b/src/ephy-session.c
index b2ebb42b2f..343577d528 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -895,7 +895,9 @@ session_seems_reasonable (GList *windows)
if (g_str_has_prefix (url, "about:"))
continue;
- uri = g_uri_parse (url, G_URI_FLAGS_PARSE_RELAXED, NULL);
+ uri = g_uri_parse (url,
+ G_URI_FLAGS_ENCODED | G_URI_FLAGS_PARSE_RELAXED,
+ NULL);
if (uri) {
if (g_uri_get_host (uri) != NULL ||
strcmp (g_uri_get_scheme (uri), "file") == 0 ||
--
GitLab

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Oct 22 19:57:55 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.2:
+ Fix crash loading Global Protect URL
+ Fix Privacy Report dialog when no trackers are blocked
+ Fix crash loading taobao.com
+ Disallow duplicate tag widgets on bookmark edit dialog
+ Add workaround for DuckDuckGo redirect service failure
- Drop epiphany-fix-parsing-encoded-session-urls.patch: Fixed
upstream
-------------------------------------------------------------------
Mon Oct 21 03:37:09 UTC 2024 - Alynx Zhou <alynx.zhou@suse.com>

View File

@@ -1,4 +1,4 @@
name: epiphany
version: 47.1
mtime: 1728927150
commit: f3ce147d7454a6d1ad21a623849425d8e0793eed
version: 47.2
mtime: 1729624670
commit: 8cbeabdf6a126bd7694280906bfa8657f134eef8

View File

@@ -17,15 +17,13 @@
Name: epiphany
Version: 47.1
Version: 47.2
Release: 0
Summary: GNOME Web Browser
License: GPL-3.0-or-later
Group: Productivity/Networking/Web/Browsers
URL: https://wiki.gnome.org/Apps/Web
Source0: %{name}-%{version}.tar.zst
# PATCH-FIX-UPSTREAM epiphany-fix-parsing-encoded-session-urls.patch bsc#1231823, glgo#GNOME/epiphany!1655 alynx.zhou@suse.com -- Fix crash when parsing session URLs which are encoded
Patch0: epiphany-fix-parsing-encoded-session-urls.patch
BuildRequires: desktop-file-utils
BuildRequires: fdupes