Closed Bug 876937 Opened 12 years ago Closed 12 years ago

Allow export URL's to load if there is a slash at the end

Categories

(Webmaker Graveyard :: Make Valet, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Jacob, Assigned: jon)

References

Details

Attachments

(1 file)

Currently, this link won't load properly - i.e. http://popcorn.webmadecontent.org/13w4/ because there is a slash at the end. Works if you remove the slash - i.e. http://popcorn.webmadecontent.org/13w4 - but we should allow it to work with a slash because sometimes it shows up when sharing. Discovered this from a blog post that had broken Popcorn Maker links because publisher had a slash at the end of their shared URL
Hm, doing this would require writing two files to S3... I dunno, I think I want to RESOLVED WONTFIX this because it's not really the same URL. How do people add an extra / there I wonder...
I suspect one might think this is a dir vs a file, and add the / so you get the /index.html inside (obviously wrong, but that's my guess). One data point, YouTube supports this: http://www.youtube.com/v/GP53b__h4ew vs http://www.youtube.com/v/GP53b__h4ew/ Jon, is it possible for nginx to eat trailing `/`s before it gets to S3? If so, great. If not, let's WONTFIX this. I agree that we don't want to write another file to S3 for this.
Possibly! Something to look into.
Assignee: nobody → jon
Status: NEW → ASSIGNED
Blocks: 888500
Attachment #773426 - Flags: review?(scott)
Attachment #773426 - Flags: review?(scott) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: Popcorn Maker → Make Valet
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: