Error when the path contains the dot char
See original GitHub issueWhen the path contains the dot, the append to array function has an unexpected behaviour
For example, givin the structure
{
"site":{
"content":{
"it":{
"about-us.md":[]
}
}
}
}
the instruction
db.push ("/site/content/it/about-us.md[]", {"code":0, "value": 1})
result in
{
"site":{
"content":{
"it":{
"about-us.md":[],
"about-us.md[]" : {"code":0, "value": 1}
}
}
}
}
instead of
{
"site":{
"content":{
"it":{
"about-us.md":[ {"code":0, "value": 1}]
}
}
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Error with dot (.) character in URL - Stack Overflow
If i get another user without the '. ' character, it works fine. The error: HTTP Error 404.0 - Not Found The resource...
Read more >dot in path breaks reload · Issue #2245 · vitejs/vite - GitHub
Describe the bug In an app using an SPA router such as react-router-dom, when a dot exists in the path, one cannot link...
Read more >Have Multiple Successive Dot Characters Receive Error 400 ...
If there is multiple successive dot characters in the browser URL header, receive Error 400 Bad Request: The request path contains illegal ...
Read more >ValueError: 'name' may not contain a dot '.' character. (Example)
I don't understand what this means raise ValueError("'name' may not contain a dot '.' character.") ValueError: 'name' may not contain a ...
Read more >Spring MVC @PathVariable with a dot (.) gets truncated
Learn how to handle path variables that contain a dot in Spring MVC request mappings.
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
That is really interesting bug, it means my regex that detect the “array” isn’t working as intended.
It’s a bug, not a decision I made 😃 I’ll see if I can fix it.
🎉 This issue has been resolved in version 3.0.0 🎉
The release is available on:
Your semantic-release bot 📦🚀