Skip to content

Commit a1149cf

Browse files
Document base URL newline validation rule
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent b39417f commit a1149cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export HYPERBROWSER_HEADERS='{"X-Correlation-Id":"req-123"}' # optional JSON obj
2626
```
2727

2828
`base_url` must start with `https://` (or `http://` for local testing), include a host,
29-
and not contain query parameters or URL fragments.
29+
and not contain query parameters, URL fragments, or newline characters.
3030
The SDK normalizes trailing slashes automatically.
3131
If `base_url` already ends with `/api`, the SDK avoids adding a duplicate `/api` prefix.
3232
If `HYPERBROWSER_BASE_URL` is set, it must be non-empty.

0 commit comments

Comments
 (0)