Note on decodeURIComponent logic