Skip to content
Snippets Groups Projects
  • Simon Eisenmann's avatar
    c80c5ad9
    Fixup getURLParameter behavior · c80c5ad9
    Simon Eisenmann authored
    This commit further changes the behavior of getURLParmeter to handle
    encoded parameter values and returns the decoded string and improves
    behavior for parameters without value and multiple equals and other
    similar cases which did not work before. See the comments at
    http://stackoverflow.com/questions/1403888/get-escaped-url-parameter for
    a list of the issues handled by the updated implementation.
    
    This change does not change the general behavior of the function. Empty
    or non existing parameters still return an empty string ('').
    c80c5ad9
    History
    Fixup getURLParameter behavior
    Simon Eisenmann authored
    This commit further changes the behavior of getURLParmeter to handle
    encoded parameter values and returns the decoded string and improves
    behavior for parameters without value and multiple equals and other
    similar cases which did not work before. See the comments at
    http://stackoverflow.com/questions/1403888/get-escaped-url-parameter for
    a list of the issues handled by the updated implementation.
    
    This change does not change the general behavior of the function. Empty
    or non existing parameters still return an empty string ('').