STR: 1. Enter a data URI which contains numeric HTML entities in the location bar, such as: data:text/html,فارسی 2. Hit Enter. 3. Modify a numeric value, or anything after the first hash for that matter. 4. The new URI wouldn't load, because the changed text is interpreted as an anchor specifier. The problem is that the location bar blindly assumes that anything after a hash is an anchor for all URI schemes, which in general is not correct.
Is this a bug? If I am not mistaken, the URL > data:text/html,فارسی is incorrect and there is no way to tell that the hash symbols are not meant to be a separator for a fragment identifier without the knowledge of the grammar of HTML. It should be written as > data:text/html,&%231601;&%231575;&%231585;&%231587;&%231740; in the first place. However, the current behavior (interpreting > data:text/html,فارسی as > data:text/html,&%231601;&%231575;&%231585;&%231587;&%231740; and not updating the content when the numbers are modified) is inconsistent.
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: 4 months ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Priority: -- → P5
Resolution: INACTIVE → ---
You need to log in before you can comment on or make changes to this bug.