Compare commits

..

No commits in common. "factory" and "devel" have entirely different histories.

6 changed files with 47 additions and 0 deletions

3
epiphany-46.2.obscpio Normal file
View File

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

3
epiphany-46.3.obscpio Normal file
View File

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

3
epiphany-46.4.obscpio Normal file
View File

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

3
epiphany-47.0.obscpio Normal file
View File

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

3
epiphany-47.1.obscpio Normal file
View File

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

View File

@ -0,0 +1,32 @@
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