File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -644,6 +644,22 @@ spec: STRUCTURED-FIELDS; urlPrefix: https://www.rfc-editor.org/rfc/rfc8941.html#
644
644
Endpoint`".
645
645
646
646
8. Return "`Failure`".
647
+
648
+ <h3 id="strip-url-for-use-in-reports-heading">Strip URL for use in reports</h3>
649
+ To <dfn algorithm export>strip URL for use in reports</dfn> given a [=/URL=] |url|,
650
+ perform the following steps. They return a string representing the URL for use in reports.
651
+
652
+ 1. If |url|'s <a for="url">scheme</a> is not an <a>HTTP(S) scheme</a> ,
653
+ then return |url|'s <a for="url">scheme</a> .
654
+
655
+ 2. Set |url|’s <a for="url">fragment</a> to the empty string.
656
+
657
+ 3. Set |url|’s <a for="url">username</a> to the empty string.
658
+
659
+ 4. Set |url|’s <a for="url">password</a> to the empty string.
660
+
661
+ 5. Return the result of executing the <a>URL serializer</a> on |url|.
662
+
647
663
</section>
648
664
649
665
<section>
You can’t perform that action at this time.
0 commit comments