html-input


HTML weird GET parameters


I have a code:
<input name="​date" value="0000-00-00 00:00:00">
After submitting I get in URL:
URL ADDRES ? some_parameters &%E2%80%8B"date"=0000-00-00+00%3A00%3A00
Spaces are just for clarification. Important part is that I get %E2%80%8B"date" instead just date. I've also noticed that I get double double quotes so the code in browser looks like this.
<input name="​"date"" value="0000-00-00 00:00:00">
Why is that?
You've got a zero-width space in there somewhere.
The sequence %E2%80%8B is the UTF-8 encoding of unicode codepoint 0x200b, which is the zero-width space character. Whichever editor you've used has inserted that in the HTML for some reason, so you need to take it out (I'd imagine that just deleting the line and retyping it would do that, and save you from having to work out exactly where in the line it is).

Related Links

HTML weird GET parameters
Can I change the width of a textfield in webapp

Categories

HOME
log4j
client
variables
deployment
openmp
openstack
layout
relayjs
programming-languages
jpeg
fingerprint
uber-api
gorm
facebook-php-sdk
row
quicklook
phaser
ibm-odm
seaborn
openrefine
scichart
paging
tibco-mdm
dxf
emgucv
filezilla
libuv
semantic-versioning
oracle-fusion-middleware
phpfreechat
dosbox
impersonation
powershell-dsc
nomethoderror
gpx
apple-news
avconv
hibernate-tools
domain-model
dropbox-php
integrity
google-perftools
pycaffe
google-cdn
parallel-data-warehouse
fody
trash
captivenetwork
independentsoft
jmeter-maven-plugin
qdialog
vstest.console.exe
cisco-ios
unity3d-gui
census
sonarqube5.1.2
nsmutabledictionary
formatjs
dia
gwidgets
codeigniter-url
file-copying
codeigniter-routing
typeof
reactfx
xceed-datagrid
srs
blending
ruby-datamapper
easy-install
eventlistener
cisco-jtapi
jspinclude
amazon-appstore
transactionscope
deobfuscation
vdsp
mongomapper
mysql-error-1005
gamequery
routedevent
bespin
noscript

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App