From unknown Sun Jun 15 12:58:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#55873 <55873@debbugs.gnu.org> To: bug#55873 <55873@debbugs.gnu.org> Subject: Status: 28.1; browse-url-encode-url escaped dollar symbol Reply-To: bug#55873 <55873@debbugs.gnu.org> Date: Sun, 15 Jun 2025 19:58:31 +0000 retitle 55873 28.1; browse-url-encode-url escaped dollar symbol reassign 55873 emacs submitter 55873 urugang severity 55873 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 11:04:46 2022 Received: (at submit) by debbugs.gnu.org; 9 Jun 2022 15:04:46 +0000 Received: from localhost ([127.0.0.1]:47346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJiI-0006ah-Jf for submit@debbugs.gnu.org; Thu, 09 Jun 2022 11:04:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:45570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJiG-0006aa-Qx for submit@debbugs.gnu.org; Thu, 09 Jun 2022 11:04:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzJiG-0003Dy-LL for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 11:04:44 -0400 Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]:37549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzJiE-0004Sy-7W for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 11:04:44 -0400 Received: by mail-pl1-x62e.google.com with SMTP id t2so20459543pld.4 for ; Thu, 09 Jun 2022 08:04:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=+qwD4i8a5InGR3pQyCU6QJfYAEuzsrF3lQxqaTZE8iY=; b=L+1gFHAp8OoofDn7z/NlN8tUOCMlDUR1/XBT55eknyOegiSBwvXfEzY0GGbtxAKkh2 1l7RTQAAjx11roxaKbgt6eQB3rQIESfHxKO3npL0LAh257DA50/G4D87bL6flBKX7tay BFwa+ZMhzdRARdF3DbUmlQosMUhHZCSq3L4f2JvLZvgiE/Ttl0aW+UDeevfCTZ+AiHXU AB1g8u+OSCxquFown7A94T9fvJ6qLn1G/l/+eJ4XFVV59+iqqRdguMinPLt3o39cuBbz wmMti5s5zamyrB84u+EH/bMWqB385wLhfRRLC6bIaRJt9kKIatOiSNV7BhXpvYjLtHMq I5Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=+qwD4i8a5InGR3pQyCU6QJfYAEuzsrF3lQxqaTZE8iY=; b=3EEqn3S3GCWYoPdd/s96MhY1NjFMheKQy88gjuubAzON1OjA3CYa4kMobbs/lV7crS hKPEZ6YIAsw9z3cGuY8tP/oYkXDlBIbeF9NSkfhLPapR5uFFsdIz3wugu5GBaRvIrTDz 9CQ5yyQBQVU20fhXxyNXKJTnsh233/eMLDQpsMddIEiRnrlElqGrRob/CsVcmWuRFqbe 5oqTu1excAys0CPg3Ycs6IlBEoh3BRu0CtEb10gkG8DMtOqwgVbM3bRCL3WL1xR497jL LvQsOjYqbNynx/ClU9T8+hBd8lwvvLChUHIoqqwjHM1/tWuTujbcUrd07kGsidB1eNLY xXDQ== X-Gm-Message-State: AOAM5313KVz1a5qcN3+yrE97HYzz12WOD/uWr8kQ37Hflq/v3NDz7koi sMcX+MC8QmsciP6zDmo4WAKwu+PY518= X-Google-Smtp-Source: ABdhPJwXdi6F3EssqgV0bG1IWKdxr+ZSHOZ0SSKmsiePgFYK4IIzXJ0yT/5IL0dGYlvgzWthhShDOQ== X-Received: by 2002:a17:90b:1e0e:b0:1e3:2eee:3ab9 with SMTP id pg14-20020a17090b1e0e00b001e32eee3ab9mr3952022pjb.158.1654787080186; Thu, 09 Jun 2022 08:04:40 -0700 (PDT) Received: from localhost ([151.192.161.1]) by smtp.gmail.com with ESMTPSA id s59-20020a17090a69c100b001cd4989fee4sm18492489pjj.48.2022.06.09.08.04.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 08:04:39 -0700 (PDT) From: urugang To: bug-gnu-emacs@gnu.org Subject: 28.1; browse-url-encode-url escaped dollar symbol Date: Thu, 09 Jun 2022 23:04:37 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=urugang@gmail.com; helo=mail-pl1-x62e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) (browse-url "https://www.javadoc.io/doc/com.lightbend.akka/akka-stream-alpakka-amqp_2.13/latest/akka/stream/alpakka/amqp/javadsl/AmqpSource$.html") It opens url "https://www.javadoc.io/doc/com.lightbend.akka/akka-stream-alpakka-amqp_2.13/latest/akka/stream/alpakka/amqp/javadsl/AmqpSource%24.html" which escaped dollor symbol "$" to "%24". firefox/chrome/safari all recognize dollor symbol ("$") and escaped char ("%24") as different things. I found browse-url-url-encode-chars replace "$" as "%24", which is not correct. (defun browse-url-encode-url (url) (browse-url-url-encode-chars url "[\"()$ ]")) (defun browse-url-url-encode-chars (text chars) (replace-regexp-in-string chars (lambda (s) (format "%%%X" (string-to-char s))) text)) So I think we should remove escape encode of dollar symbol ("$") as below. (defun browse-url-encode-url (url) (browse-url-url-encode-chars url "[\"() ]")) From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 11:12:22 2022 Received: (at 55873) by debbugs.gnu.org; 9 Jun 2022 15:12:22 +0000 Received: from localhost ([127.0.0.1]:47379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJpe-0006p8-8S for submit@debbugs.gnu.org; Thu, 09 Jun 2022 11:12:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJpb-0006or-DF for 55873@debbugs.gnu.org; Thu, 09 Jun 2022 11:12:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Erp62Pqc4DXWZ0US6AXHTO7SwmJZEI1AzO/yT4RlkvE=; b=syxn9tWZgq1X2vK/rtFYz2TBOu W1MwjcJZPEKdA3kWoKmkFdzMBTtnDcfT802Keb3gk324JQG/SV2elRfedD4u0lZF32ndVTD60d543 sIT77MduZ95DuxFhyogKhPRXnblGAxcZsO0o1lKLbv/n9joSox+QeDFxAOVAv3qwao8g=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzJpS-0001bQ-Bt; Thu, 09 Jun 2022 17:12:12 +0200 From: Lars Ingebrigtsen To: urugang Subject: Re: bug#55873: 28.1; browse-url-encode-url escaped dollar symbol References: X-Now-Playing: Farben's _textstar+_: "farben Says So Much Love (Remaster 2022)" Date: Thu, 09 Jun 2022 17:12:09 +0200 In-Reply-To: (urugang@gmail.com's message of "Thu, 09 Jun 2022 23:04:37 +0800") Message-ID: <878rq527na.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: urugang writes: > So I think we should remove escape encode of dollar symbol ("$") as below. > > (defun browse-url-encode-url (url) > (browse-url-url-encode-chars url "[\"() ]")) Yup. I've fixed this in Emacs 29 now. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55873 Cc: 55873@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) urugang writes: > So I think we should remove escape encode of dollar symbol ("$") as below. > > (defun browse-url-encode-url (url) > (browse-url-url-encode-chars url "[\"() ]")) Yup. I've fixed this in Emacs 29 now. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 09 11:12:24 2022 Received: (at control) by debbugs.gnu.org; 9 Jun 2022 15:12:24 +0000 Received: from localhost ([127.0.0.1]:47382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJpg-0006pM-EZ for submit@debbugs.gnu.org; Thu, 09 Jun 2022 11:12:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzJpe-0006ox-Qj for control@debbugs.gnu.org; Thu, 09 Jun 2022 11:12:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UG17Cy3keSlIB5R9Cx9mplzmeiJb24fp1XouR8EIp3w=; b=Pr7OnVASH9QVl98IzaCj8YM7vJ sAKpBXpFrHWCz5pmhSMu35zK494EnvSfFsp8OvVRZOn2T6YuiY5i3nTMFEZPRBpr2lVYQOOBkLcG9 79tiyjZ3VwAIKg/Ag8xGju+3Mhl1WcTOdJHm0q2M/KF0y5jb9n6MdkZKsoMYJo/hXQps=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzJpX-0001bb-2j for control@debbugs.gnu.org; Thu, 09 Jun 2022 17:12:17 +0200 Date: Thu, 09 Jun 2022 17:12:14 +0200 Message-Id: <877d5p27n5.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #55873 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 55873 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 55873 29.1 quit From unknown Sun Jun 15 12:58:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 08 Jul 2022 11:24:13 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator