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

TurboGears / tg2
100%

Build:
DEFAULT BRANCH: development
Repo Added 10 Nov 2013 02:22PM UTC
Files 100
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

LAST BUILD ON BRANCH development
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 2.3.8
  • 24-config-refactoring
  • amol--patch-1
  • codex/remove-pylons-compatibility-code
  • development
  • development-i18n
  • fix-unexposed-action-decoration
  • fix/issue-150-invalid-path
  • freenode
  • issue-148
  • master
  • next
  • py39
  • tg2.3.10
  • tg2.3.11
  • tg2.3.12
  • tg2.3.2
  • tg2.3.3
  • tg2.3.4
  • tg2.3.5
  • tg2.3.7
  • tg2.3.8
  • tg2.3.9
  • tg2.4.0
  • tg2.4.1
  • tg2.4.2
  • tg2.4.3
  • tg2.5.0
  • workshop

28 Nov 2026 05:28PM UTC coverage: 99.939%. Remained the same
46170662725

push

github

amol-
Handle non-UTF-8 request paths without crashing (#151)

## Summary

Malformed non-UTF-8 request paths raise an unhandled
`UnicodeDecodeError` during dispatch and can produce a 500 response.

- Handle decoding failure only in `Request.quoted_path_info`, quoting
the raw latin-1 `PATH_INFO` bytes.
- Preserve normal routing: unresolved malformed paths return 404, not
400.
- Add regression coverage for malformed UTF-8, raw WSGI paths,
byte-preserving quoting, and valid path encodings.

Fixes https://github.com/TurboGears/tg2/issues/150

## Validation

- Full suite: 967 passed, 3 skipped (Python 3.14.4, WebOb 1.8.11).
- Request-property and controller-dispatch tests: 94 passed.
- Ruff lint, Ruff formatting, and `git diff --check` passed.
- Independent code-quality review approved.

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

4899 of 4902 relevant lines covered (99.94%)

14.98 hits per line

Relevant lines Covered
Build:
Build:
4902 RELEVANT LINES 4899 COVERED LINES
14.98 HITS PER LINE
Source Files on development
  • Tree
  • List 100
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
46170662725 development Handle non-UTF-8 request paths without crashing (#151) ## Summary Malformed non-UTF-8 request paths raise an unhandled `UnicodeDecodeError` during dispatch and can produce a 500 response. - Handle decoding failure only in `Request.quoted_path_i... push 28 Nov 2026 05:29PM UTC amol- github
99.94
46170527225 development Handle non-UTF-8 request paths without crashing (#151) ## Summary Malformed non-UTF-8 request paths raise an unhandled `UnicodeDecodeError` during dispatch and can produce a 500 response. - Handle decoding failure only in `Request.quoted_path_i... push 28 Nov 2026 05:27PM UTC web-flow github
99.94
46170513600 fix/issue-150-invalid-path Merge 3c3488087 into 68017597f Pull #151 28 Nov 2026 05:27PM UTC web-flow github
99.94
46165621281 development Don't crash on unexposed actions when enforcing allowed methods (#153) Fixes #152 Since `allowed_methods` was added to `@expose`, `DecoratedController._call` reads `action.decoration` before anything else touches the action. An action set by a c... push 28 Nov 2026 04:32PM UTC web-flow github
99.94
45902978152 fix-unexposed-action-decoration Merge cfc08dc21 into 765a98519 Pull #153 26 Nov 2026 10:10PM UTC web-flow github
99.94
41419385159 fix/issue-150-invalid-path Merge 58d03a284 into 765a98519 Pull #151 02 Nov 2026 09:18AM UTC web-flow github
99.94
38308634371 development Validate release artifacts with twine check push 12 Oct 2026 09:08PM UTC amol- github
99.94
38305111502 master Release 2.5.1 push 12 Oct 2026 08:35PM UTC amol- github
99.94
38305110379 development Release 2.5.1 push 12 Oct 2026 08:35PM UTC amol- github
99.94
38302965436 development Expand changelog with tg2devtools push 12 Oct 2026 08:15PM UTC amol- github
99.94
See All Builds (1293)
  • Repo on GitHub
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