Skip to content

Commit 35a3892

Browse files
committed
Address GH security check finding
1 parent 5a1392e commit 35a3892

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

User_Guide_AWS_EC2_FPGA_Development_Kit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ On-premise environment: Customers can set up a [on-premise development (with lic
117117
<td style="text-align: center"><a href="https://github.com/Xilinx/Vitis_Accel_Examples/blob/main/hello_world/src/vadd.cpp">Design Source</a></td>
118118
</tr>
119119
<tr>
120-
<td style="text-align: center"><a href="https://github.com/Xilinx/Vitis_Accel_Examples/blob/main/hello_world/src/host.cpp#L92">Testbench</a></td>
120+
<td style="text-align: center"><a href="https://github.com/Xilinx/Vitis_Accel_Examples/blob/main/hello_world/src/host.cpp">Testbench</a></td>
121121
</tr>
122122
<tr>
123123
<td style="text-align: center"><a href="https://github.com/Xilinx/Vitis_Accel_Examples/blob/main/hello_world/src/host.cpp">Runtime Software</a></td>

docs-rtd/source/User-Guide-AWS-EC2-FPGA-Development-Kit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Quick Start Links
226226
-
227227
-
228228
-
229-
- `Testbench <https://github.com/Xilinx/Vitis_Accel_Examples/blob/main/hello_world/src/host.cpp#L92>`__
229+
- `Testbench <https://github.com/Xilinx/Vitis_Accel_Examples/blob/main/hello_world/src/host.cpp>`__
230230
* -
231231
-
232232
-

shared/bin/check_doc_links.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
import requests
3737
import urllib3
38+
import urllib3.util
3839
from requests.adapters import HTTPAdapter
3940
from urllib3.util.retry import Retry
4041

@@ -334,7 +335,7 @@ def _check_anchor_in_response(self, url: str, response: requests.Response) -> Re
334335
_, fragment = url.split("#", 1)
335336
fragment = unquote(fragment)
336337

337-
if "github.com" in url:
338+
if urllib3.util.parse_url(url) == "github.com":
338339
return self._check_github_line_numbers(fragment, response)
339340

340341
# Check for HTML anchors/sections

0 commit comments

Comments
 (0)