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

rero / sonar / 22859677677 / 1
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: staging
DEFAULT BRANCH: master
Ran 09 Mar 2026 03:16PM UTC
Files 284
Run time 9s
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

09 Mar 2026 02:59PM UTC coverage: 94.986% (+0.003%) from 94.983%
22859677677.1

push

github

PascalRepond
fix(views): deny global view access on dedicated portals

Dedicated portals (e.g., folia.unifr.ch) could serve documents from
other organisations via the global URL path, causing search engines
to index cross-organisation content.

The route converter now checks if the request comes from a dedicated
portal and rejects the global view with a 404. The check also uses
urlparse().hostname instead of netloc.split(":")[0] to correctly
handle IPv6 addresses and URLs with explicit ports.

- Closes #909.

Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>

7710 of 8117 relevant lines covered (94.99%)

0.95 hits per line

Source Files on job 22859677677.1
  • Tree
  • List 284
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22859677677
  • c7d96da4 on github
  • Prev Job for on staging (#22219994241.1)
  • Next Job for on staging (#23433809200.1)
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