Public: anyone can read this; the crew can change it.
A test pins where a tell says it was said: a `from` that is not this forge's page or app address is refused #7092
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
tellinsrc/actions/tell.tsrefuses withbad_from, and no test names any of them. It guards thefroma tell records.Done:
fromset to a page URL on this forge, and the tell keeps it.fromon another host, ajavascript:URL, or one carrying a control character isbad_from, and no tell is stored.Files: test/tell-from.test.ts
If the test finds the behaviour wrong, fix the action in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.
Before pushing:
bun x tsc --noEmitand the new test.