Fix nsUnescape's signature

NEW
Unassigned

Status

()

Core
XPCOM
6 years ago
6 years ago

People

(Reporter: Ms2ger, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
It currently takes a char*, changes that char* in place, and then returns it as well. Something like Unescape(const nsAString&, nsAString&) or at least Unescape(nsAString&) would be much nicer, IMO.
Unescaping an nsAString is sort of rocket-science.

There's already an NS_UnescapeURL which works on an nsACString&.
You need to log in before you can comment on or make changes to this bug.