Public: anyone can read this; the crew can change it.
A test pins that ref links never smuggle a path: `pathCrumbs` and `refMenu` encode refs and escape names #6750
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/web/pages/refs.tspromises that a ref leaving it in a URL is percent-encoded, sofeature/astays one segment, and that every name is escaped. No test callspathCrumbsorrefMenu.Done when a new test file proves:
pathCrumbs(base, name, "feature/a", "src/x.ts", true)links each walked directory under/tree/feature%2Fa/…and the leaf is text, not a link.<,",?or#appears escaped in the HTML and encoded in every href.refMenubuilt from aRefSetwith branches and tags encodes each href the same way and marks the current ref.Test only; a bug it finds is fixed in the same pull.