[BUG] Creating zip file in windows for linux

Open 💬 0 comments Opened Jun 22, 2026 by abokish

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Claude creates ZIP files on Windows with backslash separators in entry names, which corrupts the paths when extracted on Linux servers.
Specificaly i create a Wordpress plugin using Claude extenstion in VS code on my Windows PC. when uploding the plugin to the wordpress web server, the file in the plugin folder created with backslash and not slash. That made problem with updating the plugin, and with deleting the plugin.

What Should Happen?

if the zip file is a plugin for wordpress, the inner folders should be created with slash and not backslash.

Error Messages/Logs

553 Prohibited file name: shushka-admin\shushka_picking_plugin.php

Steps to Reproduce

  1. make a wordpress web site
  2. generate wordpress external api key
  3. create .env file in the claude project folder
  4. add the wordpress key data to the .env file: WP_ADMIN_USERNAME and WP_ADMIN_PASSWORD
  5. from a windows pc ask Claude to create a plugin for Wordpress that shows all users details. let him know you have a .env file in the project folder with the api key that he needs for it.
  6. he will create a zip file in the project folder
  7. go to the wordpress dashboard -> plugins -> add new -> upload file
  8. choose the zip file and submit
  9. now go to the plugin folder. you should see new folder with the plugin name. inside the folder you should see a file with a backslash in the name.

Claude Model

_No response_

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.168 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗