This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Special characters displayed differently

0

I am using Wireshark to capture traffic from an application we are testing. Currently the UN/PWD's are transmitted via http. I can capture the username just fine. However, the the password contains the # which wireshark either omits to display or shows the % in place of the #.

The # is valid as the UN/PWD combination works.

asked 21 Dec '12, 11:37

rojasj's gravatar image

rojasj
1111
accept rate: 0%

edited 22 Dec '12, 03:53

SYN-bit's gravatar image

SYN-bit ♦♦
17.1k957245


One Answer:

1

I bet the "%" sign is followed by 23, together that makes %23, which is the HTTP url encoding string for the character "#".

In short, your browser translates "#" to "%23" to prevent interpretation problems between the client and the server. The server translates the "%23" back to "#". Wireshark just shows you the raw data as it is sent over the network.

answered 21 Dec '12, 11:59

SYN-bit's gravatar image

SYN-bit ♦♦
17.1k957245
accept rate: 20%