Details
Assignee
Michael OffnerMichael OffnerReporter
Pothys - MitrahSoftPothys - MitrahSoftPriority
MinorLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Pothys - MitrahSoft
Pothys - MitrahSoftPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 29 March 2023 at 15:01
Updated 16 October 2024 at 13:57
Mailing List: https://dev.lucee.org/t/decodefromurl-fails-with-various-keywords/12392
TryCF: https://trycf.com/gist/43b5b0b5ea6bb6d0266d540c0eedf9cb/lucee5?theme=monokai
<cfscript> posTestURL = "https://test.example/api/v1/index.html?uname=tester&lanu=en&prm123=test"; negTestURL = "https://test.example/api/v1/index.html?uname=tester&lang=en¶m1=test"; try{ enc = encodeForURL( posTestURL ); writeDump( var = enc, label = "Encoded posTestURL" ); dec = decodeFromURL( enc ); writeDump( var = dec, label = "Decoded posTestURL" ); enc = encodeForURL( negTestURL ); writeDump( var = enc, label = "Encoded negTestURL" ); dec = decodeFromURL( enc ); writeDump( var = dec, label = "Decoded negTestURL" ); } catch ( any error ) { writeDump( var = error, label = "Exception" ); } </cfscript>