Skip to content

URL encoding bug: "Incorrect signature" when creating resources with special characters in URL #874

Open
@joepio

Description

@joepio
  • Create a drive with a non-URL allowed special character (e.g. an emoji) in the name
  • Refresh the page
  • "incorrect signature error"
  • Using websockets (retry) works

Thoughts

  • AtomicServer does not have appropriate URL checking at this point. This could be the explanation for why websockets works, but HTTP doesn't.

Cause

  • Not clear. Perhaps something in

Fix

Only allow a small subset of chars in subjects

  • Don't allow complex URL encoding stuff that is error prone
  • Server throws an error if any illegal character is present in subject.
  • Makes some existing, valid URLs not compatible.

Resource.setSubject throws error if invalid

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions