If an anchor's href contains encoded characters, reading the anchor's pathname returns a decoded path.
Firefox and IE return the 'raw' version (thus with %.. in the string) whereas webkit returns a decoded path. Opera returns a decoded path as well.
As a sidenote, IE6 returns a decoded href-attribute as well.
I assume that fetching the attribute of an element returns the actual value, not a modified value.
This issue reproduces in Safari 3 and 4 on Mac and Win.
It doesn't reproduce in Chrome 126.96.36.199 and 188.8.131.52.
Fixed in http://trac.webkit.org/changeset/96779
*** This bug has been marked as a duplicate of bug 30225 ***