Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String on Url received encoded
Message
De
07/03/2015 16:21:01
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
07/03/2015 13:16:42
Information générale
Forum:
Javascript
Catégorie:
DHTML
Divers
Thread ID:
01616403
Message ID:
01616413
Vues:
25
>I have a javascript code which sends a Url into another frame like this:
>
>
>window.parent.document.getElementById("AFrame").src="ViewPageGenericWorker.aspx?Variable=InvoiceStore|NoStore|1|100,InvoiceStore|Code|1|50"
>
>
>In there, you will see a query string: InvoiceStore|NoStore|1|100,InvoiceStore|Code|1|50
>
>This is delimited by a comma to separate the group and the character | to separate the items in a group.
>
>When the server receives this string, the | character and even the comma are encoded. Anyone would know what is causing that?

Every browser will encode anything that's not a standard part of the URL. Spaces, special characters - and now I see the pipe should be added to the list. Try with a tilde instead, I think it's not encoded.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform