Skip to content

should the validate page PARAMLIST be URL encoded? #1

@binary1230

Description

@binary1230

in the sample code here:
https://github.com/PayTrace/samples/blob/master/SecureCheckout/DotNet/CSharp/SecureCheckout/Default.aspx.cs#L41

It does:
parameter_list = parameter_list + Parameters;

should that be URL encoded?
parameter_list = parameter_list + HttpUtility.UrlEncode(Parameters);

this sample code just happens to work because it doesn't have any special characters in it, it could potentially break if that changed. The VB code in the docs does URL encoding like this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions