mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
25 lines
980 B
XML
25 lines
980 B
XML
![]() |
<fvdoc>
|
||
|
<div xmlns='http://www.w3.org/1999/xhtml'>
|
||
|
<div id='message'>
|
||
|
<p>Same-document reference</p>
|
||
|
</div>
|
||
|
<div id='explanation'>
|
||
|
<p>The URI in question can be considered as a
|
||
|
<a href="http://www.apps.ietf.org/rfc/rfc3986.html#sec-4.4">Same-Document Reference</a>.
|
||
|
As the current xml:base in effect does not match the URI of the document,
|
||
|
this can lead to inconsistent and non-interoperable behavior between
|
||
|
different clients.</p>
|
||
|
</div>
|
||
|
<div id='solution'>
|
||
|
<p>Consider changing the xml:base to reference the either the
|
||
|
document itself, or the parent directory of the document referenced.</p>
|
||
|
<p>For example, change:</p>
|
||
|
<blockquote><code><link href="." xml:base="http://example.com/blog/" /></code></blockquote>
|
||
|
<p>to this:</p>
|
||
|
<blockquote><code><link href="." xml:base="http://example.com/blog/feed.atom" /></code></blockquote>
|
||
|
<p>or this:</p>
|
||
|
<blockquote><code><link href="blog/" xml:base="http://example.com/" /></code></blockquote>
|
||
|
</div>
|
||
|
</div>
|
||
|
</fvdoc>
|