You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 17, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 17, 2019. It is now read-only.
mocked S3 publications are missing a slash in what they publish #170
Doing a test publish on localhost shows the following log:
[2015-09-25T23:28:53.958Z] INFO: publish.webmaker.org/34260 on MozBook: Successfully uploaded /mopaxian/5index.html
[2015-09-25T23:28:53.963Z] INFO: publish.webmaker.org/34260 on MozBook: Successfully published My Goggles Remix to localhost:8001/mopaxian/5
Which suggests there is a slash missing before the index.html part of the payload. Examining the actual file on disks confirms this, where my mox/test dir contains the following two file entries:
Also interesting is that it looks like the platform-controlled directory separator is being used, leading to %5C on windows (the \ character), which probably needs to be rewritten to a hard coded / instead (which would end up being %2F), as this isn't so much a file as it's supposed to mock a URL on the web (not sure if this is us, or whether that's noxmox doing something interesting)
Doing a test publish on localhost shows the following log:
Which suggests there is a slash missing before the
index.htmlpart of the payload. Examining the actual file on disks confirms this, where mymox/testdir contains the following two file entries:Also interesting is that it looks like the platform-controlled directory separator is being used, leading to %5C on windows (the
\character), which probably needs to be rewritten to a hard coded/instead (which would end up being %2F), as this isn't so much a file as it's supposed to mock a URL on the web (not sure if this is us, or whether that's noxmox doing something interesting)