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

benwbrum / fromthepage / 19377900481
68%

Build:
DEFAULT BRANCH: development
Ran 14 Nov 2025 09:35PM UTC
Jobs 1
Files 220
Run time 1min
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

14 Nov 2025 09:19PM UTC coverage: 66.326% (-0.02%) from 66.347%
19377900481

push

github

web-flow
Fix: URL encode special characters in image filenames (#5065)

* Initial plan

* Add URL encoding to file_to_url helper for special characters

- Updated file_to_url in ApplicationHelper to URL encode each path segment
- This fixes broken images when filenames contain # or other special chars
- Added comprehensive tests for file_to_url with various special characters
- Added tests for osd_source to verify OpenSeadragon tile sources are encoded
- Added tests for thumbnail_url to verify thumbnail paths are encoded

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Fix double-encoding issue in image_url_for_download

- Removed redundant URI encoding since file_to_url now returns encoded paths
- Added test for image_url_for_download with special characters
- Verified no double-encoding occurs for filenames with # and spaces

Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>

* Remove bad test

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: benwbrum <199961+benwbrum@users.noreply.github.com>
Co-authored-by: Ben W. Brumfield <benwbrum@gmail.com>

1979 of 3497 branches covered (56.59%)

Branch coverage included in aggregate %.

5 of 5 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

8458 of 12239 relevant lines covered (69.11%)

117.44 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
76.47
-4.71% app/helpers/transcribe_helper.rb
Jobs
ID Job ID Ran Files Coverage
1 19377900481.1 14 Nov 2025 09:35PM UTC 220
66.33
GitHub Action Run
Source Files on build 19377900481
  • Tree
  • List 220
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19377900481
  • 7442b0b6 on github
  • Prev Build on development (#19346153991)
  • Next Build on development (#19474867087)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc