Remove const_casts from URLSearchParams

Confirmed Issue #14443134 • Assigned to Allison P.

Details

Created
Oct 30, 2017
Privacy
This issue is public.
Reports
Reported by 24 people

Sign in to watch or report this issue.

Steps to reproduce

Const_casts are currently being used to convert an LPCWSTR to an LPWSTR.  This should not be necessary because .data() should be able to convert a std::wstring to an LPWSTR.   The compiler is not STL-compliant.  

Const_casts around found in functions PercentEncodeParam and PercentDecodeParam

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Allison P.”

      Changed Status to “Confirmed”

      Changed Title from “Remove const_casts form URLSearchParams” to “Remove const_casts from URLSearchParams”

      Changed Steps to Reproduce

      Changed Assigned To from “Allison P.” to “Jeff W.”

      Changed Assigned To from “Jeff W.” to “Allison P.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in