Skip to content

Support for URL encoded check for new line in FtpWebRequest #128642

Closed

Description

@mrek-msft

FtpWebRequest do not work well when request URI contains \r\n. This is actually handled and throws, however case when there is URL encoded %0D%0A still causes request to fail with less informative exception. It can cause issues when there is for example \r\n at the end of string as part of leftover from some parsing and such string is passed over URL encoding for safety. It would be nice to implement same check for URL encoded variant as well.

Activity

  1. self-assigned this
    on May 27, 2026
  2. MihuBot commented on May 27, 2026

    @MihuBot

    cc: @dotnet/ncl

  3. added
    untriaged
    on May 27, 2026
  4. added this to the 11.0.0 milestone on Jun 2, 2026
  5. removed
    untriaged
    on Jun 2, 2026
  6. removed their assignment
    on Jun 4, 2026
  7. locked and limited conversation to collaborators on Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions