Skip to content

Commit 58d5d78

Browse files
committed
REFERRER: Ignore empty strings.
1 parent 5d32821 commit 58d5d78

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

specs/referrer-policy/index.src.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ <h3 id="referrer-policy-delivery-meta">Delivery via <a element>meta</a></h3>
428428

429429
<li>
430430
If the <code><a element>meta</a></code> element lacks a
431-
<code><a element-attr>content</a></code> attribute, or if that
432-
attribute's value is the empty string, then abort these steps.
431+
<code><a element-attr>content</a></code> attribute then abort these
432+
steps.
433433
</li>
434434

435435
<li>
@@ -444,6 +444,10 @@ <h3 id="referrer-policy-delivery-meta">Delivery via <a element>meta</a></h3>
444444
leading and trailing whitespace</a>.
445445
</li>
446446

447+
<li>
448+
If <var>meta-value</var> is the empty string, then abort these steps.
449+
</li>
450+
447451
<li>
448452
Let <var>policy</var> be the result of executing the
449453
[[#determine-policy-for-token]] algorithm on <var>meta-value</var>.

0 commit comments

Comments
 (0)