How to get Uri.EscapeDataString to comply with RFC 3986

后端 未结 5 1424
死守一世寂寞
死守一世寂寞 2020-11-30 04:07

The Uri class defaults to RFC 2396. For OpenID and OAuth, I need Uri escaping consistent with RFC 3986.

From the System.Uri class documentation:

5条回答
  •  春和景丽
    2020-11-30 04:19

    What version of the framework are you using? It looks like a lot of these changes were made in the (from MSDN) ".NET Framework 3.5. 3.0 SP1, and 2.0 SP1" timeframe.

提交回复
热议问题