GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Exception will be thrown if uri string contains the character 'M'. · Issue #16020 · netty/netty

Exception will be thrown if uri string contains the character 'M'. #16020

New issue
Copy link
New issue
Copy link
Closed
#16030
#16022
Closed
Exception will be thrown if uri string contains the character 'M'.#16020
#16030
#16022
Copy link
Assignees
chrisvest
Milestone
4.1.130.Final

Description

@WenKaiMing
WenKaiMing
opened on Dec 12, 2025
Issue body actions

https://github.com/netty/netty/blame/40ab4184d85f812199b1357efaabf49a25cb029b/codec-http/src/main/java/io/netty/handler/codec/http/HttpUtil.java#L90

Reacted by stuebingerb, Tung Beier, He-Pin(kerr), stay7, Aun Sirinaovakul, Vishal N and rodrigo-efx

Activity

Next
  1. WenKaiMing commented on Dec 12, 2025

    @WenKaiMing
    WenKaiMing
    on Dec 12, 2025
    Author
    More actions

    For example: URI = "/M"

  2. yawkat commented on Dec 12, 2025

    @yawkat
    yawkat
    on Dec 12, 2025
    Contributor
    More actions

    Can you give a full code example? The code looks fine to me.

  3. yawkat commented on Dec 12, 2025

    @yawkat
    yawkat
    on Dec 12, 2025
    Contributor
    More actions

    Oh actually, I think I see how 2f2e437 could be problematic. The shift will wrap around, and uppercase M 'M' % 64 == 13 == '\r' is banned.

  4. yawkat commented on Dec 12, 2025

    @yawkat
    yawkat
    on Dec 12, 2025
    Contributor
    More actions

    @normanmaurer

  5. WenKaiMing commented on Dec 12, 2025

    @WenKaiMing
    WenKaiMing
    on Dec 12, 2025
    Author
    More actions
    Image
  6. vietj commented on Dec 12, 2025

    @vietj
    vietj
    on Dec 12, 2025
    Contributor
    More actions

    the issue comes from If the promoted type of the left-hand operand is long, then only the six lowest-order bits of the right-hand operand are used as the shift distance. - https://docs.oracle.com/javase/specs/jls/se14/html/jls-15.html#jls-15.19

    Reacted by Jonas Konrad and Chris Vest
    Reacted by Francesco Nigro
  7. violetagg commented on Dec 12, 2025

    @violetagg
    violetagg
    on Dec 12, 2025
    Member
    More actions

    In Spring Boot tests we also see the same issue

    Reacted by Ilya Nemtsev
  8. normanmaurer commented on Dec 12, 2025

    @normanmaurer
    normanmaurer
    on Dec 12, 2025
    Member
    More actions

    @chrisvest can you have a look please ?

  9. chrisvest
    self-assigned this
    on Dec 12, 2025
  10. chrisvest
    added a commit that references this issue on Dec 12, 2025

    Fix HTTP startline validation

    7407f83
  11. chrisvest commented on Dec 12, 2025

    @chrisvest
    chrisvest
    on Dec 12, 2025
    Member
    More actions

    Put up a PR to fix it: #16022

    Reacted by Tung Beier, Andrei Solntsev, wincc and Aun Sirinaovakul
  12. normanmaurer
    closed this as completedin #16022on Dec 13, 2025
  13. normanmaurer
    added 3 commits that reference this issue on Dec 13, 2025

    Fix HTTP startline validation (#16022)

    32eddc3

    Fix HTTP startline validation (#16022)

    b7fac9e

    Fix HTTP startline validation (#16022)

    9bdcf68
  14. 15 remaining items

  15. normanmaurer
    added a commit that references this issue on Dec 15, 2025

    Optimize HTTP startline validation (#16030) (#16043)

    a77a549
  16. chrisvest
    modified the milestones: 4.1.129.Final, 4.1.130.Final on Dec 15, 2025
  17. YishaiGrM commented on Dec 23, 2025

    @YishaiGrM
    YishaiGrM
    on Dec 23, 2025 · Hidden as resolved
    show commentMore actions
  18. brusdev commented on Dec 23, 2025

    @brusdev
    brusdev
    on Dec 23, 2025
    More actions

    @YishaiGrM this issue was fixed in 4.1.130, see 56328f9 and 54ba03e

  19. yawkat
    marked netty-codec-http issue with latest 4.1.130.Final version -error if URI is having UPPER Case letters. #16083 as a duplicate of this issue on Dec 23, 2025
  20. YishaiGrM commented on Dec 23, 2025

    @YishaiGrM
    YishaiGrM
    on Dec 23, 2025 · Hidden as resolved
    show commentMore actions
  21. yawkat
    marked HttpUtil.isEncodingSafeStartLineToken incorrectly rejects valid URIs containing uppercase letters #16084 as a duplicate of this issue on Dec 24, 2025
  22. yawkat
    marked IllegalArgumentException: The URI contain illegal characters after upgrading Netty from 4.1.128.Final to 4.1.129.Final #16175 as a duplicate of this issue on Jan 23, 2026
  23. yawkat
    marked URI Contains illegal characters from HttpUtil class io-netty-codec 4.1.129.Final #16190 as a duplicate of this issue on Jan 28, 2026
  24. yawkat
    marked Call to io.netty.handler.codec.http.HttpUtil#isEncodingSafeStartLineToken method (netty-bom:4.1.129.Final )is returning false for input "HWGJ" and true for "HWGj" (small case j) which is blocking api calls. #16191 as a duplicate of this issue on Jan 28, 2026
  25. yawkat
    marked Token not accepted in query param and request is rejected at server level with 400 #16308 as a duplicate of this issue on Feb 19, 2026
  26. corvidian
    added a commit that references this issue on Mar 26, 2026

    OY-5458 Päivitetä netty, jotta pääsee bugista eroon

    51676f8
  27. justinvreeland
    added a commit that references this issue on May 6, 2026

    spark-4.1: Bump netty-codec-http

    d374a59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @chrisvest
    chrisvest

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    • 4.1.130.Final

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.