Skip to content

Commit

Permalink
only allow # for now in hrefs to avoid any confusion about paths
Browse files Browse the repository at this point in the history
  • Loading branch information
hpk42 committed Nov 25, 2024
1 parent 7816f79 commit f4c04db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-docs/spec/sendUpdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ The `update` object has the following properties:

- `update.href`: optional string that can be passed as the navigation
location to the webxdc app.
If specified the string must start with `/` and contain only the "path" part
of an URL, without any origin (scheme and domain) parts.
If specified the string must start with `#` and can not contain any
origin, path or query parts.

- `update.document`: optional, name of the document in edit
(eg. the title of a poll or the name of a text in an editor)
Expand Down

0 comments on commit f4c04db

Please sign in to comment.