| 1 |
apache |
1.2 |
|
| 2 |
|
|
#pattern
|
| 3 |
|
|
<span class=secno>* </span>Hyperlink auditing
|
| 4 |
|
|
#ja
|
| 5 |
|
|
<span class=secno>$1 </span>ハイパーリンクの監査
|
| 6 |
|
|
|
| 7 |
|
|
#en
|
| 8 |
wakaba |
1.3 |
If an <code><a href=#the-a-element>a</a></code> or <code><a
|
| 9 |
|
|
href=#the-area-element>area</a></code> hyperlink element has a <code
|
| 10 |
|
|
title=attr-hyperlink-ping><a href=#ping>ping</a></code> attribute and
|
| 11 |
apache |
1.2 |
the user follows the hyperlink, the user agent must take the <code
|
| 12 |
wakaba |
1.3 |
title=attr-hyperlink-ping><a href=#ping>ping</a></code> attribute's
|
| 13 |
apache |
1.2 |
value, <span title="split the string on spaces">split that string on
|
| 14 |
wakaba |
1.3 |
spaces</span>, <a href=#resolve-a-url title="resolve a url">resolve</a> each
|
| 15 |
apache |
1.2 |
resulting token, and then should send a request (as described below) to
|
| 16 |
wakaba |
1.3 |
each of the resulting <a href=#absolute-url title="absolute URL">absolute
|
| 17 |
apache |
1.2 |
URLs</a>. (Tokens that fail to resolve are ignored.) This may be done in
|
| 18 |
|
|
parallel with the primary request, and is independent of the result of
|
| 19 |
|
|
that request.
|
| 20 |
|
|
#ja
|
| 21 |
wakaba |
1.3 |
利用者エージェントは、<code><a href=#the-a-element>a</a></code> や <code><a
|
| 22 |
|
|
href=#the-area-element>area</a></code> のハイパーリンク要素が <code
|
| 23 |
|
|
title=attr-hyperlink-ping><a href=#ping>ping</a></code> 属性を持つ場合で、
|
| 24 |
apache |
1.2 |
利用者が当該ハイパーリンクをたどった場合、<code
|
| 25 |
wakaba |
1.3 |
title=attr-hyperlink-ping><a href=#ping>ping</a></code>
|
| 26 |
apache |
1.2 |
属性の値をもって<span title="split the string on spaces">この文字列を間隔で分割</span>し、
|
| 27 |
wakaba |
1.3 |
得られた字句のそれぞれを<a href=#resolve-a-url title="resolve a url">解決</a>しなければ[[MUST:ならず]]、
|
| 28 |
|
|
その後、得られた<a href=#absolute-url title="absolute URL">絶対
|
| 29 |
apache |
1.2 |
URL</a> のそれぞれについて要求 (後述) を送信する[[SHOULD:べきです]]。
|
| 30 |
|
|
(解決に失敗した字句は無視します。)
|
| 31 |
|
|
これは主たる要求と並列に行っても[[MAY:構わず]]、
|
| 32 |
|
|
主たる要求の結果とは独立したものです。
|
| 33 |
|
|
|
| 34 |
|
|
#en
|
| 35 |
|
|
User agents should allow the user to adjust this behavior, for example
|
| 36 |
|
|
in conjunction with a setting that disables the sending of HTTP <code
|
| 37 |
|
|
title="">Referer</code> headers. Based on the user's preferences, UAs may
|
| 38 |
wakaba |
1.3 |
either <a href=#ignore>ignore</a> the <code
|
| 39 |
|
|
title=attr-hyperlink-ping><a href=#ping>ping</a></code> attribute
|
| 40 |
apache |
1.2 |
altogether, or selectively ignore URLs in the list (e.g. ignoring any
|
| 41 |
|
|
third-party URLs).
|
| 42 |
|
|
#ja
|
| 43 |
|
|
利用者エージェントは、利用者にこの動作の調整、例えば HTTP <code
|
| 44 |
|
|
title="">Referer</code> 頭部の送信を無効化する設定と組み合わせることを認める[[SHOULD:べきです]]。
|
| 45 |
|
|
利用者エージェントは、利用者の設定に基づき、<code
|
| 46 |
wakaba |
1.3 |
title=attr-hyperlink-ping><a href=#ping>ping</a></code>
|
| 47 |
|
|
属性全体を<a href=#ignore>無視</a>するか、または並び中の一部の URL
|
| 48 |
apache |
1.2 |
を選択的に無視 (例えば第3者 URL を無視) するかのいずれかを行って[[MAY:構いません]]。
|
| 49 |
|
|
|
| 50 |
|
|
#en
|
| 51 |
|
|
For URLs that are HTTP URLs, the requests must be performed using the
|
| 52 |
|
|
POST method (with an empty entity body in the request). All relevant
|
| 53 |
|
|
cookie and HTTP authentication headers must be included in the request.
|
| 54 |
|
|
Which other headers are required depends on the URls involved.
|
| 55 |
|
|
#ja
|
| 56 |
|
|
HTTP URL である URL については、要求は POST
|
| 57 |
|
|
メソッド (要求中の実体本体は空) を使って行われなければ[[MUST:なりません]]。
|
| 58 |
|
|
すべての関係するクッキーや HTTP 認証の頭部を要求に含めなければ[[MUST:なりません]]。
|
| 59 |
|
|
他の頭部は当該 URL に依存して[[REQUIRED:必須]]となります。
|
| 60 |
|
|
|
| 61 |
|
|
#en
|
| 62 |
|
|
If both the <span title="the document's
|
| 63 |
|
|
address">address</span><!-- XXXDOCURL --> of the <code>Document</code>
|
| 64 |
|
|
object containing the hyperlink being audited and the ping URL have the
|
| 65 |
wakaba |
1.3 |
<a href=#same-origin>same origin</a>
|
| 66 |
apache |
1.2 |
#ja
|
| 67 |
|
|
監査されるハイパーリンクと ping URL を含む <code>Document</code> オブジェクトの<span title="the document's
|
| 68 |
wakaba |
1.3 |
address">番地</span>と<a href=#same-origin>同じ起源</a>の場合
|
| 69 |
apache |
1.2 |
|
| 70 |
|
|
#en
|
| 71 |
|
|
The request must include a <code title="">Ping-From</code> HTTP header
|
| 72 |
|
|
with, as its value, the <span title="the document's
|
| 73 |
|
|
address">address</span><!-- XXXDOCURL --> of the document containing the
|
| 74 |
|
|
hyperlink, and a <code title="">Ping-To</code> HTTP header with, as its
|
| 75 |
wakaba |
1.3 |
value, the address of the <a href=#absolute-url>absolute URL</a> of the
|
| 76 |
apache |
1.2 |
target of the hyperlink. The request must not include a <code
|
| 77 |
|
|
title="">Referer</code> HTTP header.
|
| 78 |
|
|
#ja
|
| 79 |
|
|
要求は <code title="">Ping-From</code> HTTP 頭部を、
|
| 80 |
|
|
含んでいる文書の<span title="the document's
|
| 81 |
|
|
address">番地</span>を値として含めなければ[[MUST:なりません]]。
|
| 82 |
|
|
要求は <code
|
| 83 |
|
|
title="">Referer</code> HTTP 頭部を含んでは[[MUST NOT:なりません]]。
|
| 84 |
|
|
|
| 85 |
|
|
#en
|
| 86 |
|
|
Otherwise, if the origins are different, but the document containing
|
| 87 |
|
|
the hyperlink being audited was not retrieved over an encrypted
|
| 88 |
|
|
connection
|
| 89 |
|
|
#ja
|
| 90 |
|
|
それ以外の場合、起源が異なる場合で、監査されるハイパーリンクを含んでいる文書が暗号化された接続上で取り出された場合
|
| 91 |
|
|
|
| 92 |
|
|
#en
|
| 93 |
|
|
The request must include a <code title="">Referer</code> HTTP header
|
| 94 |
|
|
[sic] with, as its value, the location of the document containing the
|
| 95 |
|
|
hyperlink, a <code title="">Ping-From</code> HTTP header with the same
|
| 96 |
|
|
value, and a <code title="">Ping-To</code> HTTP header with, as its
|
| 97 |
|
|
value, the address of the target of the hyperlink.
|
| 98 |
|
|
#ja
|
| 99 |
|
|
要求は <code title="">Referer</code> HTTP 頭部 [ママ]
|
| 100 |
|
|
をハイパーリンクを含んでいる文書の所在を値として、 <code title="">Ping-From</code> HTTP
|
| 101 |
|
|
頭部を同じ値として、 <code title="">Ping-To</code> HTTP 頭部をハイパーリンクの対象の番地を値として、
|
| 102 |
|
|
含めなければ[[MUST:なりません]]。
|
| 103 |
|
|
|
| 104 |
|
|
#en
|
| 105 |
|
|
Otherwise, the origins are different and the document containing the
|
| 106 |
|
|
hyperlink being audited was retrieved over an encrypted connection
|
| 107 |
|
|
#ja
|
| 108 |
|
|
それ以外の場合、起源が異なっており監査されるハイパーリンクが含まれている文書が暗号化された接続上で取り出された場合
|
| 109 |
|
|
|
| 110 |
|
|
#en
|
| 111 |
|
|
The request must include a <code title="">Ping-To</code> HTTP header
|
| 112 |
|
|
with, as its value, the address of the target of the hyperlink. The
|
| 113 |
|
|
request must neither include a <code title="">Referer</code> HTTP header
|
| 114 |
|
|
nor include a <code title="">Ping-From</code> HTTP header.
|
| 115 |
|
|
#ja
|
| 116 |
|
|
要求は <code title="">Ping-To</code> HTTP
|
| 117 |
|
|
頭部を、ハイパーリンクの対象の番地を値として含めなければ[[MUST:なりません]]。
|
| 118 |
|
|
要求は、 <code title="">Referer</code> HTTP 頭部を含んでも、
|
| 119 |
|
|
<code title="">Ping-From</code> HTTP 頭部を含んでも[[MUST:なりません]]。
|
| 120 |
|
|
|
| 121 |
|
|
#en
|
| 122 |
|
|
To save bandwidth, implementors might also wish to consider
|
| 123 |
|
|
omitting optional headers such as <code>Accept</code> from these requests.
|
| 124 |
|
|
#ja
|
| 125 |
|
|
実装者は、帯域を節約するため、 <code>Accept</code> などの省略可能な頭部をこれらの要求から省くことを検討するといいかもしれません。
|
| 126 |
|
|
|
| 127 |
|
|
#en
|
| 128 |
|
|
User agents must ignore any entity bodies returned in the responses, but
|
| 129 |
|
|
must, unless otherwise specified by the user, honor the HTTP headers
|
| 130 |
|
|
(including, in particular, redirects and HTTP cookie headers). <a
|
| 131 |
wakaba |
1.3 |
href=#refsRFC2109>[RFC2109]</a> <a href=#refsRFC2965>[RFC2965]</a>
|
| 132 |
apache |
1.2 |
#ja
|
| 133 |
|
|
利用者エージェントは、応答で実体本体が返されても無視しなければ[[MUST:なりません]]が、
|
| 134 |
|
|
利用者によって別途指定されない限り、 HTTP 頭部 (特に、再指向や HTTP クッキーの頭部を含みます。)
|
| 135 |
|
|
に従わなければ[[MUST:なりません]]
|
| 136 |
|
|
<a
|
| 137 |
wakaba |
1.3 |
href=#refsRFC2109>[RFC2109]</a> <a href=#refsRFC2965>[RFC2965]</a>
|
| 138 |
apache |
1.2 |
|
| 139 |
|
|
#en
|
| 140 |
wakaba |
1.3 |
When the <code title=attr-hyperlink-ping><a href=#ping>ping</a></code>
|
| 141 |
apache |
1.2 |
attribute is present, user agents should clearly indicate to the user that
|
| 142 |
|
|
following the hyperlink will also cause secondary requests to be sent in
|
| 143 |
|
|
the background, possibly including listing the actual target URLs.
|
| 144 |
|
|
#ja
|
| 145 |
wakaba |
1.3 |
利用者エージェントは、<code title=attr-hyperlink-ping><a href=#ping>ping</a></code>
|
| 146 |
apache |
1.2 |
属性が存在する場合、ハイパーリンクをたどると二次要求も背景で送られることになることも、
|
| 147 |
|
|
例えば実際の対象 URL の一覧を含めることにより、明確に示す[[SHOULD:べきです]]。
|
| 148 |
|
|
|
| 149 |
|
|
#en
|
| 150 |
wakaba |
1.3 |
The <code title=attr-hyperlink-ping><a href=#ping>ping</a></code>
|
| 151 |
apache |
1.2 |
attribute is redundant with pre-existing technologies like HTTP redirects
|
| 152 |
|
|
and JavaScript in allowing Web pages to track which off-site links are
|
| 153 |
|
|
most popular or allowing advertisers to track click-through rates.
|
| 154 |
|
|
#ja
|
| 155 |
wakaba |
1.3 |
<code title=attr-hyperlink-ping><a href=#ping>ping</a></code>
|
| 156 |
apache |
1.2 |
属性は、 HTTP リダイレクトや JavaScript で Web 頁がサイト外のリンクのどれが人気が高いかを調べたり、
|
| 157 |
|
|
広告主がクリック通過率を追跡したりできるようにします。
|
| 158 |
|
|
|
| 159 |
|
|
#en
|
| 160 |
|
|
However, the <code title=attr-hyperlink-ping><a
|
| 161 |
wakaba |
1.3 |
href=#ping>ping</a></code> attribute provides these advantages to the
|
| 162 |
apache |
1.2 |
user over those alternatives:
|
| 163 |
|
|
#ja
|
| 164 |
|
|
しかし、 <code title=attr-hyperlink-ping><a
|
| 165 |
wakaba |
1.3 |
href=#ping>ping</a></code> 属性はこれらの代替案に対して利用者に次のような利点を与えます。
|
| 166 |
apache |
1.2 |
|
| 167 |
|
|
#en
|
| 168 |
|
|
It allows the user to see the final target URL unobscured.
|
| 169 |
|
|
#ja
|
| 170 |
|
|
最終的な対象 URL を利用者が不明瞭にせずに見れるようにします。
|
| 171 |
|
|
|
| 172 |
|
|
#en
|
| 173 |
|
|
It allows the UA to inform the user about the out-of-band
|
| 174 |
|
|
notifications.
|
| 175 |
|
|
#ja
|
| 176 |
|
|
利用者エージェントが利用者に帯域外通知を知らせます。
|
| 177 |
|
|
|
| 178 |
|
|
#en
|
| 179 |
|
|
It allows the paranoid user to disable the notifications without
|
| 180 |
|
|
losing the underlying link functionality.
|
| 181 |
|
|
#ja
|
| 182 |
|
|
偏執証の利用者が下位リンク機能を損なわずに通知を無効化できます。
|
| 183 |
|
|
|
| 184 |
|
|
#en
|
| 185 |
|
|
It allows the UA to optimize the use of available network bandwidth
|
| 186 |
|
|
so that the target page loads faster.
|
| 187 |
|
|
#ja
|
| 188 |
|
|
利用者エージェントが利用可能ネットワーク帯域の利用量を最適化し、
|
| 189 |
|
|
対象頁の読み込みが早くなるようにします。
|
| 190 |
|
|
|
| 191 |
|
|
#en
|
| 192 |
|
|
Thus, while it is possible to track users without this feature, authors
|
| 193 |
|
|
are encouraged to use the <code title=attr-hyperlink-ping><a
|
| 194 |
wakaba |
1.3 |
href=#ping>ping</a></code> attribute so that the user agent can improve
|
| 195 |
apache |
1.2 |
<!-- XXX optimize? --> the user experience.
|
| 196 |
|
|
#ja
|
| 197 |
|
|
ですから、この機能をなしに利用者を追跡することも可能ですが、
|
| 198 |
|
|
<code title=attr-hyperlink-ping><a
|
| 199 |
wakaba |
1.3 |
href=#ping>ping</a></code> 属性を使い、
|
| 200 |
apache |
1.2 |
利用者エージェントが利用者の体験を向上させられるようにすることを著者にはお勧めします。
|
| 201 |
|
|
|