Skip to content

[BUG] curly braces in URL not handled correctly #5005

Open
@jflieben

Description

@jflieben

Reporting an Issue or Missing Feature

Connect-PnPOnline URL handling of special characters, specifically curly braces

Expected behavior

Connect-PnPOnline -Url https://xxx.sharepoint.com/sites/site{name
should work without issue

Actual behavior

Connect-PnPOnline -Url https://xxx.sharepoint.com/sites/site{name

results in Connect-PnPOnline: Input string was not in a correct format. Failure to parse near offset 59. Unexpected closing brace
without a corresponding opening brace.

What is the version of the Cmdlet module you are running?

3.1.0

Which operating system/environment are you running PnP PowerShell on?

  • [ x ] Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions