GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — / (slash) in script name crash the import process · Issue #3210 · greasemonkey/greasemonkey

/ (slash) in script name crash the import process #3210

New issue
Copy link
New issue
Copy link
Closed
Soldy/greasemonkey
#1
Soldy/greasemonkey#1
Closed
/ (slash) in script name crash the import process#3210
Soldy/greasemonkey
#1
Copy link
Milestone
4.14

Description

@roger21
roger21
opened on Mar 16, 2025
Issue body actions

hey there,

so that very good friend of mine created a script called "somethin / something" it works fine and all (well, not judging the code here)

the export also works (except it doesn't)

and the import crashes

so the export process actually creates a reasonably good folder name for the script ("somethin -- something") but then it creates a subfolder called "somethin" and that subfolder contains the script "something.user.js" (.gm.json is at the same level as the subfolder )

and the import process crashes on import.js:81:31

Uncaught (in promise) TypeError: zip.file(...) is null
importOneScriptFromZip moz-extension://2724ca01-c625-4f91-b5dc-7b24591a6662/src/content/backup/import.js:81
importAllScriptsFromZip moz-extension://2724ca01-c625-4f91-b5dc-7b24591a6662/src/content/backup/import.js:46
onFileChange moz-extension://2724ca01-c625-4f91-b5dc-7b24591a6662/src/content/backup/import.js:31
promise callbackonFileChange moz-extension://2724ca01-c625-4f91-b5dc-7b24591a6662/src/content/backup/import.js:24
EventListener.handleEvent
moz-extension://2724ca01-c625-4f91-b5dc-7b24591a6662/src/content/backup/import.run.js:3
import.js:81:31

Operating System: linux debian 12 stable
Firefox version: 128.8.0esr (64-bit) (from the debian package)
Greasemonkey version: 4.13

easy to reproduce:
1 - create a new user script called "somethin / something" and save
2 - export a backup of your scripts from greasemonkey
3 - import that backup you just created with greasemonkey -> the progress bar freezes

(i'm sorry for reporting this bug)

Activity

  1. arantius
    added this to the 4.14 milestone on May 12, 2026
  2. arantius
    closed this as completedin 6890846on May 12, 2026
  3. pull
    added a commit that references this issue on May 12, 2026

    Fix import of scripts with /es in name

    This issue will close once commit 6890846 is merged into the 'master' branch.
    6890846
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      • 4.14No due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.