* bug#19046: 24.4; url-retrieve-synchronously does not use username/password in URL
@ 2014-11-13 17:06 Faried Nawaz
2015-12-25 19:08 ` Lars Ingebrigtsen
2015-12-25 19:22 ` Lars Ingebrigtsen
0 siblings, 2 replies; 5+ messages in thread
From: Faried Nawaz @ 2014-11-13 17:06 UTC (permalink / raw)
To: 19046; +Cc: mah
If I do
(url-generic-parse-url "http://user:pass@127.0.0.1:8442/")
it returns a struct with the username and password fields properly
parsed. However, if I do
(url-retrieve-synchronously "http://user:pass@127.0.0.1:8442/")
it seems to ignore the embedded username/password, and I have to work
around that by doing something like
(let ((my-auth '(("some realm" . "base64-encoded-field")))
(url-basic-auth-storage 'my-auth))
(url-retrieve-synchronously "http://127.0.0.1:8442/"))
I could not readily find a function to use the embedded
username/password in the URL without assigning to
url-basic-auth-storage. (If there is one, I think it should be better
documented.)
Thanks,
Faried.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#19046: 24.4; url-retrieve-synchronously does not use username/password in URL
2014-11-13 17:06 bug#19046: 24.4; url-retrieve-synchronously does not use username/password in URL Faried Nawaz
@ 2015-12-25 19:08 ` Lars Ingebrigtsen
2015-12-25 19:22 ` Lars Ingebrigtsen
1 sibling, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-25 19:08 UTC (permalink / raw)
To: Faried Nawaz; +Cc: mah, 19046
Faried Nawaz <faried@gmail.com> writes:
> If I do
>
> (url-generic-parse-url "http://user:pass@127.0.0.1:8442/")
>
> it returns a struct with the username and password fields properly
> parsed. However, if I do
>
> (url-retrieve-synchronously "http://user:pass@127.0.0.1:8442/")
I can confirm that this bug is present in Emacs 25.2.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#19046: 24.4; url-retrieve-synchronously does not use username/password in URL
2014-11-13 17:06 bug#19046: 24.4; url-retrieve-synchronously does not use username/password in URL Faried Nawaz
2015-12-25 19:08 ` Lars Ingebrigtsen
@ 2015-12-25 19:22 ` Lars Ingebrigtsen
2015-12-25 19:36 ` John Wiegley
1 sibling, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-25 19:22 UTC (permalink / raw)
To: Faried Nawaz; +Cc: mah, 19046
Faried Nawaz <faried@gmail.com> writes:
> If I do
>
> (url-generic-parse-url "http://user:pass@127.0.0.1:8442/")
>
> it returns a struct with the username and password fields properly
> parsed. However, if I do
>
> (url-retrieve-synchronously "http://user:pass@127.0.0.1:8442/")
I've now fixed this for Emacs 25.1.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#19046: 24.4; url-retrieve-synchronously does not use username/password in URL
2015-12-25 19:22 ` Lars Ingebrigtsen
@ 2015-12-25 19:36 ` John Wiegley
2015-12-25 19:38 ` Lars Ingebrigtsen
0 siblings, 1 reply; 5+ messages in thread
From: John Wiegley @ 2015-12-25 19:36 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: mah, 19046, Faried Nawaz
>>>>> Lars Ingebrigtsen <larsi@gnus.org> writes:
> I've now fixed this for Emacs 25.1.
Should we mark this bug as "-done", or are you waiting for confirmation from
the OP?
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#19046: 24.4; url-retrieve-synchronously does not use username/password in URL
2015-12-25 19:36 ` John Wiegley
@ 2015-12-25 19:38 ` Lars Ingebrigtsen
0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-25 19:38 UTC (permalink / raw)
To: John Wiegley; +Cc: mah, 19046, Faried Nawaz
John Wiegley <jwiegley@gmail.com> writes:
>>>>>> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> I've now fixed this for Emacs 25.1.
>
> Should we mark this bug as "-done", or are you waiting for confirmation from
> the OP?
I think I marked it as done?
I'm using the debbugs interface, so the control messages are separate
messages, and also say what version the bug was fixed in.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-12-25 19:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-13 17:06 bug#19046: 24.4; url-retrieve-synchronously does not use username/password in URL Faried Nawaz
2015-12-25 19:08 ` Lars Ingebrigtsen
2015-12-25 19:22 ` Lars Ingebrigtsen
2015-12-25 19:36 ` John Wiegley
2015-12-25 19:38 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).