Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7636105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:35:19+00:00 2026-05-31T07:35:19+00:00

With the following form <form target="dialogiframe" action="ConfigUpdate.cvx" id="TestForm" name="TestForm" method="get"> <input name="test" type="text" size="40"

  • 0

With the following form

<form target="dialogiframe" action="ConfigUpdate.cvx" id="TestForm" 
    name="TestForm" method="get">
    <input name="test" type="text" size="40" value="A Sum 1+2=3"/>
    <input type="submit" value="Set" />
</form>

the parameters of the submitted request are encoded as follows

test=A+Sum+1+2=3

After that is decoded, it gives the incorrect value of "A Sum 1 2=3" as the + in the parameter is not encoded (neither is the = ), and this is converted into a space.

if I change the method to post, then parameters are encoded correctly as

test=A+Sum+1%2B2%3D3

and is then converted correctly.

I know I should use POST and indeed am going through my pages and am converting them, but am I missing anything in the form definition to make the GET encode correctly?

Tested with IE8 and FF10, pages in <!DOCTYPE html>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:35:21+00:00Added an answer on May 31, 2026 at 7:35 am

    I believe this is a known issue with using GET as the form method. Generally you should use the POST method with your forms.

    From: http://www.cs.tut.fi/~jkorpela/forms/methods.html

    The official recommendations say that “GET” should be used if and only if the form processing is idempotent, which typically means a pure query form. Generally it is advisable to do so. There are, however, problems related to long URLs and non-ASCII character repertoires which can make it necessary to use “POST” even for idempotent processing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following form <form name=myForm id=myForm method=post enctype=multipart/form-data action=script.php> and this jQuery
delete_define.php has the following code snippet: <?php session_start(); ?> <form action=delete_now.php target=upload_target onsubmit=return my_func_1();>
I have done the following form <% form_for @anexo, :url => {:action => create},
i have the following form item { fieldLabel:'Username' ,id:username ,name:'username' ,allowBlank:false ,plugins:[Ext.ux.plugins.RemoteValidator] ,rvOptions: {
I have the following form, which I have reduced as much as I can,
I have the following form for photo_album which uses the nested forms feature of
I have the following form code: # forms.py class SomeForm(forms.Form): hello = forms.CharField(max_length=40) world
I have strings of following form a = x + y or abc =
Consider the following form: I want textbox1 or textbox2 to be focused when i
For some reason the following form isn't submitting the file like it should and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.