Skip to content

Commit 78dab4c

Browse files
committed
docs: use scanner-neutral URL example in cross-repo comment
The hardcoded-URL security audit flags http:// literals in src/; the comment only illustrates the shape of stored url_path values. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent 1d5fd65 commit 78dab4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/pipeline/pass_cross_repo.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ static void insert_cross_edge(cbm_store_t *store, const char *project, int64_t f
136136

137137
/* Strip "scheme://host[:port]" from a stored HTTP_CALLS url, returning the
138138
* path. url_path property values are stored raw from the call's first string
139-
* argument, so they can be full URLs ("http://svc:8080/v2/x") — and
139+
* argument, so they can be full URLs ("scheme://host:port/v2/x") — and
140140
* cbm_route_canon_path only canonicalizes placeholder syntax, never strips
141141
* authorities. Returns "/" for a URL with no path after the host (a request
142142
* against the bare base URL targets the root route). (#523) */

0 commit comments

Comments
 (0)