{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "",
    "ClosedDate": null,
    "CommentCount": 0,
    "Custom": null,
    "Description": "If you have a zip whose paths use backslashes instead of forward slashes then calls to RemoveEntry will do nothing. The happens because internally DotNetZip will normalize to forward slash before removing from the item from the dictionary but the filenames are stored in the dictionary with backslashes (here is the guilty code in RemoveEntry):\n \n  _entries.Remove(SharedUtilities.NormalizePathForUseInZipFile(entry.FileName));\n \nA solution would be to try the remove twice, once for forward slashes and once for backslashes\n \n  _entries.Remove(SharedUtilities.NormalizePathForUseInZipFile(entry.FileName));\n  _entries.Remove(SharedUtilities.NormalizePathForUseInZipFile(entry.FileName)).Replace(\"/\", \"\\\\\");",
    "LastUpdatedDate": "2013-11-03T02:41:03.017-08:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2011-08-26T14:24:06.3-07:00",
    "Status": {
      "Name": "Proposed",
      "Id": 1
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "RemoveEntry does not work if file path contains backslashes (\"\\\")",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 9,
    "Id": 14154
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "This affects Entry.FileName = \"New Name\" as well since it internally uses Remove.\r\n\"\\\" is also commonly used with files zipped from Windows Explorer.",
      "PostedDate": "2011-08-26T14:36:18.237-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2011-08-26T15:10:56.827-07:00",
      "Id": -2147483648
    },
    {
      "Message": "Please do this instead:\r\n\r\n_entries.Remove(SharedUtilities.NormalizePathForUseInZipFile(entry.FileName)).Replace('/', Path.DirectorySeparatorChar);\r\n\r\nthat ensures compatibility for Mono on *nix systems.",
      "PostedDate": "2011-08-27T09:14:48.79-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-01-17T04:36:04.957-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-06-01T20:23:49.2-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2012-09-25T07:23:42.15-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:43:03.63-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-11-03T02:41:03.017-08:00",
      "Id": -2147483648
    }
  ]
}