Skip to content

Bug handling non-url-safe characters in XML document #71

@amagid

Description

@amagid

Simple issue in iRest.js which causes &, #, or ? anywhere in the XML document to cause an XMLSERVICE error.

Arises because JavaScript's encodeURI() does not encode these characters, resulting in an invalid URI if the XML document contains them - need to use encodeURIComponent() on each query parameter instead.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions