[SERVER-1171] mongoimport does not validate UTF-8 input, resulting in breakage when querying Created: 28/May/10 Updated: 12/Jul/16 Resolved: 03/Jun/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 1.4.3 |
| Fix Version/s: | 1.5.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Niall O'Higgins | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Debian Lenny |
||
| Participants: |
| Description |
|
The mongoimport tool will happily let me import data with invalid UTF-8 encoding. MongoDB shell and PyMongo driver will then barf when I try to query the collection, when some invalid UTF-8 characters appear in the documents. |