http://user:[email protected] - специфицированно?

Гравицапа

elbirret elcno
http://user:p[email protected] - специфицированно?

Кто-нибудь в курсе такая схема урла вообще
http://user:[email protected] и/или http://[email protected] специфицированна?
И как с такими урлами работает апач?
Или их обработка идёт на строне браузера и веб-серверу посылвается уже изменённый урл? Тогда какими браузерами оно поддерживается?
Просто, что-то не получается RFC найти
:(

-~{}~ 16.05.07 17:01:

Проблема решена, спасибо Wicked'у

http://www.faqs.org/rfcs/rfc1738.html
 

Фанат

oncle terrible
Команда форума
апач с такими урлами, разуммеется, никак не работает.
особенно если учесть что он вообще с урлами не работает. ни с какими.

не знаю, какая проблема решена, но пользоваться такими урлами практически невозможно.
к сожалению, быстро я тот микрософтовский иссуй не нашел, но простой тест показывает нам, что осел по такой ссылке просто не идет, а остальные ругают тебя словами различной степени тяжести
 

Гравицапа

elbirret elcno
Фанат
Всё верно. У веб-приложения, в разработке которого я принимаю участие, раньше была определённая функциональность, связанная с такого рода урлами. И каким-то чудом оно работало в старых браузерах. Проблема решена в том смысле, что эта фича просто будет удалена из приложения.
 

Гравицапа

elbirret elcno
к сожалению, быстро я тот микрософтовский иссуй не нашел,
Кстати, я таки нашёл. Кому интересно:
The default behavior of Internet Explorer for handling user information in HTTP and in HTTPS URLs
By default, versions of Windows Internet Explorer that were released starting with the release of security update 832894 do not support handling user names and passwords in HTTP and HTTP with Secure Sockets Layer (SSL) or HTTPS URLs. The following URL syntax is not supported in Internet Explorer or in Windows Explorer:
http(s)://username:password@server/resource.ext
This article is intended to notify you of this default behavior of Internet Explorer. If you include user information in HTTP or HTTPS URLs, we recommend that you explore the workarounds that are described in this article. For more information about the 832894 security update, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/bulletin/MS04-004.mspx
http://www.ietf.org/rfc/rfc1738.txt (Uniform Resource Locators (URL))
The HTTP protocol is specified elsewhere. This specification only
describes the syntax of HTTP URLs.

An HTTP URL takes the form:

http://<host>:<port>/<path>?<searchpart>

where <host> and <port> are as described in Section 3.1. If :<port>
is omitted, the port defaults to 80. No user name or password is
allowed. <path> is an HTTP selector, and <searchpart> is a query
string. The <path> is optional, as is the <searchpart> and its
preceding "?". If neither <path> nor <searchpart> is present, the "/"
may also be omitted.
 
Сверху