mozilla / extension-workshop

Firefox Extension Workshop
https://extensionworkshop.com
96 stars 130 forks source link

NoSuchKey error is returned for URLs without a trailing slash `/` #1894

Closed abhn closed 2 months ago

abhn commented 2 months ago

Describe the problem and steps to reproduce it:

EW pages only work when the trailing slash is added. When there isn't one (For example, https://extensionworkshop.com/documentation/publish/third-party-library-usage) the visitor gets an error message (See picture)

image

Potentially related https://github.com/mozilla/extension-workshop/issues/1835

What did you expect to happen?

Even if the slash isn't added by a user (say, because they edited it, or copied partially without the trailing slash), we should redirect to the right page (with the slash)

Anything else

I can reproduce this on many (all I tested) EW pages https://extensionworkshop.com/documentation/publish/source-code-submission https://extensionworkshop.com/documentation/develop/best-practices-for-collecting-user-data-consents etc

pattersonbl2 commented 2 months ago

This issue should be resolved with a infra changes.

willdurand commented 2 months ago

(see: https://github.com/mozilla-it/webservices-infra/pull/2234)