You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux version 5.15.0-57-generic (buildd@lcy02-amd64-110) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022
Linux version 5.15.0-57-generic (buildd@lcy02-amd64-110) (gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #63-Ubuntu SMP Thu Nov 24 13:43:17 UTC 2022
D2 v0.1.5
Run D2 on file containing the following:
gateway: "" {
icon: https://icons.terrastruct.com/aws/Networking%20&%20Content%20Delivery/Amazon-API-Gateway_Endpoint_light-bg.svg
shape: image
height: 100
width: 100
}
produces the error:
err: failed to bundle https://icons.terrastruct.com/aws/Networking%20&%20Content%20Delivery/Amazon-API-Gateway_Endpoint_light-bg.svg: expected status 200 but got 403 403 Forbidden
err: failed to fully compile (partial render written): failed to bundle remote images: [https://icons.terrastruct.com/aws/Networking%20&%20Content%20Delivery/Amazon-API-Gateway_Endpoint_light-bg.svg]
Neither D2 or FireFox can resolve that URL.
This comes down to the ampersand being escaped to & instead of %26. It appears that HTML encoding is being used instead of URI encoding.
The text was updated successfully, but these errors were encountered: