Ampersands invalid in Layer or Map names
See original GitHub issue@arredond commented on Wed Jun 14 2017
Context
When adding an ampersand (&) to a layer or map name, it gets parsed with its HTML entitiy name: '&. This doesn’t happen for other special characters tested: / \ · ( ) [ ] $ % ¬ ª º ^` + * + { } ç
Steps to Reproduce
- Add an ampersand (&) to a layer or map name
- The symbol will be replaced by its HTML entity name ('&)
- The naming may or may not fail
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
00057: Layer name contains invalid characters—ArcGIS Pro
A layer in the map or selection of layers being shared has a name that contains URL or XML reserved characters that are...
Read more >error when url resource contains ampersand - Stack Overflow
We have a web api with the following resource url. http://www.example.com/book/bookid/name/bookname. now there are some books which contains ...
Read more >Documentation - Ampersand.js
Trying to set a property to an invalid type will throw an error. See get and set for more information about getting and...
Read more >What characters should not be used in ArcGIS for field names ...
For ArcGIS to work with multiple data types, certain characters in field or table names are not supported. These characters include spaces, ...
Read more >Elements of reference list entries - APA Style
Use an ampersand (&) before the final author's name. ... Incorrect: NIMH. When numerous layers of government agencies are listed as the author...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This bug comes from https://github.com/CartoDB/bug-bounty/issues/152.
I found that notifications and widget’s source also require a sanitizeHTML:
In production 🚀