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

EsupPortail / Esup-Pod / 19566963541
70%
main: 71%

Build:
Build:
LAST BUILD BRANCH: dev_v4
DEFAULT BRANCH: main
Ran 21 Nov 2025 10:19AM UTC
Jobs 1
Files 269
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

21 Nov 2025 10:04AM UTC coverage: 69.974% (-0.005%) from 69.979%
19566963541

push

github

web-flow
:bug: Normalize malformed referrer URLs missing double slash (#1379)

# :bug: [FIX] Normalize malformed referrer URLs missing double slash

Some external requests send a malformed `referrer` such as:

* `http:/pod.univ-lille.fr/...`
* `https:/pod.univ-lille.fr/...`

These URLs have a missing slash after the scheme (`:/` instead of `://`), and Pod never generates them internally.
They currently trigger `SuspiciousOperation("referrer is not internal")`, causing unnecessary admin error emails.

This PR adds a **minimal and safe normalization**:

* `https:/…` → `https://…`
* `http:/…` → `http://…`

Nothing else is changed.

2 of 4 new or added lines in 1 file covered. (50.0%)

12200 of 17435 relevant lines covered (69.97%)

0.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
75.56
-2.49% pod/authentication/views.py
Jobs
ID Job ID Ran Files Coverage
1 19566963541.1 21 Nov 2025 10:19AM UTC 269
69.97
GitHub Action Run
Source Files on build 19566963541
  • Tree
  • List 269
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cf86591c on github
  • Prev Build on dev_v4 (#19229423824)
  • Next Build on dev_v4 (#19922656454)
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

© 2025 Coveralls, Inc