Skip to content

fix(setup): root empty-prefix static assets - #168

Merged
linkdata merged 2 commits into
mainfrom
fix/163-setup-empty-prefix-assets
Jul 20, 2026
Merged

fix(setup): root empty-prefix static assets#168
linkdata merged 2 commits into
mainfrom
fix/163-setup-empty-prefix-assets

Conversation

@linkdata

Copy link
Copy Markdown
Owner

Summary

  • root direct StaticServe resource URLs so empty-prefix assets resolve from nested pages
  • construct owned asset URLs from paths so URL-sensitive filename characters are escaped safely
  • preserve page-relative behavior for generic string, URL, and SetupFunc resources
  • add nested-page, escaping, wildcard-safety, and compatibility regressions

Verification

  • go generate ./...
  • go vet ./...
  • gofmt and gofumpt
  • staticcheck ./...
  • golangci-lint run ./...
  • gosec ./...
  • go build ./...
  • JAWS_REQUIRE_NODE=1 go test -race -count=1 -coverprofile=/private/tmp/jaws-163-coverage.out ./...

Closes #163

@linkdata
linkdata merged commit fbdda8d into main Jul 20, 2026
7 checks passed
@linkdata
linkdata deleted the fix/163-setup-empty-prefix-assets branch July 20, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setup: empty prefix emits page-relative assets with root-relative handlers

1 participant