• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

romshark / datapages / 37155197251
44%

Build:
DEFAULT BRANCH: main
Ran 03 Oct 2026 09:28PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
  cancel
37155197251

push

github

romshark
fix: Make every declared asset reachable

- fix: Refuse an assets URL prefix with a percent-encoding.
  It passes datapages lint and gen, and then the server answers 404
  for every file under it:

      // StaticFS is /my%20files/
      //
      //go:embed static/*
      var StaticFS embed.FS

  The server decodes /my%20files/app.css to /my files/app.css before
  it strips the prefix, and /my%20files/ never matches that. Allow in
  the prefix only what the error message lists: letters, digits, '-',
  '.', '_', '~' and '/'. This also refuses quotes and other punctuation,
  and accepts /.well-known/, which was refused as a dot segment.

- fix: Refuse a go:embed pattern that is a glob or a single file,
  as //go:embed static/*.css or //go:embed static/app.css.
  The server serves the pattern as a directory that doesn't exist
  and answers 404 for every asset.

- fix: Percent-encode file names in assets.Path and href.Asset.
  assets.Path("a#b.css") returns /static/a#b.css, which a browser
  requests as /static/a. A '?' in a name does the same, and a '%'
  makes the server answer 400.

- fix: Show the app's own prefix in the doc of the generated
  assets.Path, which always showed /static/style.css.

- fix: Build the asset URLs in the head of example/offline-cache with
  assets.Path, as its offline config does.
Source Files on build 37155197251
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #37155197251
  • 9443c51c on github
  • Prev Build on main (#37118771738)
  • Next Build on main (#37156350470)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc