Greetings, 

I'm trying to understand a behaviour I'm seeing with Firebug.  I have a 
Python program that uploads files to a web site and it has a problem when 
the file names include Finnish characters, so I'm using Firebug to observe 
the same transactions through the web GUI upload.

I'm seeing a discrepancy between what Firebug says it's sending in the 
multipart/for-data POST versus what Wireshark says is actually going down 
the wire.

When I upload a file with Finnish characters using the web site's upload 
feature, if I inspect that POST transaction in Firebug's NET console it 
shows the following line describing the filename...

Content-Disposition: form-data; name="data"; filename="Hirviöiden.tcx"

(note, if this doesn't render correctly, the 'o' has the two dots above it)


However, I also captured this POST transaction with Wireshark and the same 
line in Wireshark shows the following...

Content-Disposition: form-data; name="data"; filename="Hirvioiden.tcx"

(The 'o' in this version is an ascii 'o' with no dots)

Why is Firebug telling me one thing and Wireshark telling me something 
different?  Who is changing the characters in the file name?  Is Firefox 
doing this after the Firebug 'wiretap'?  I would think if the Javascript 
running on the web page is changing the file name Firebug would show the 
changed version of the file name... also, from what I can tell I haven't 
seen any javascript related to changing the file name on the web page.  Is 
there some specification that describes this behaviour?  


I tend to believe the Wireshark version because my Python program works 
correctly when there are no Finnish characters, but fails when the file 
name has Finnish characters.

Your insight would be appreciated.

Thanks, 

Dave L.


-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/firebug/8eddd5a0-647f-4434-a631-6c688cfd7336%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to