Skip to content

Commit a036b0e

Browse files
Document base URL port validation requirement
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent 09193eb commit a036b0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export HYPERBROWSER_HEADERS='{"X-Correlation-Id":"req-123"}' # optional JSON obj
3131
and not contain query parameters, URL fragments, backslashes, control characters,
3232
or whitespace/newline characters.
3333
`base_url` must not include embedded user credentials.
34+
If a port is provided in `base_url`, it must be a valid numeric port.
3435
Unsafe encoded host/path forms (for example encoded traversal segments or encoded host/path delimiters) are also rejected.
3536
The SDK normalizes trailing slashes automatically.
3637
If `base_url` already ends with `/api`, the SDK avoids adding a duplicate `/api` prefix.

0 commit comments

Comments
 (0)