Skip to content

Projects with the sequence "\b" in any string input give a 500 error when saving #3497

@adroitwhiz

Description

@adroitwhiz

If any string input/argument in any block in a project contains the substring "\b" anywhere, attempts to save the project to the Scratch server will result in an HTTP 500 error.

Other backslash sequences ("\n", "\t", etc.) seem to work fine--I've tested all letters of the alphabet (in lowercase) and only "\b" causes a 500 error.

Downloading the project as a .sb3 works fine, so this appears to be a website issue which is why I'm filing this bug against scratch-www (there's no public repo for the Scratch backend).

Steps to Reproduce

  1. Type a string containing "\b" into any text input:
    image

  2. Observe the 500 error when saving:
    image
    image

Operating System and Browser

Firefox 69.0.1 on Fedora 30 (though this should occur on every browser)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions