Closed Bug 578520 Opened 14 years ago Closed 14 years ago

[k] Ability to upload images

Categories

(support.mozilla.org :: General, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: paulc, Assigned: paulc)

References

Details

Attachments

(1 file)

After bug 569033, we will need the ability to upload images. This bug handles that, probably enabling uploads from both the forums and questions apps.
Priority: -- → P1
Adds a rewrite for the upcoming kitsune upload app.
Attachment #459192 - Flags: review?(james)
Attachment #459192 - Flags: review?(erik)
> RewriteRule ^upload(.*) /k/upload$1 [L,QSA]

How about ($|/.*) instead of (.*) so it doesn't match "uploadinationification"?

> RewriteRule ^([\-a-zA-Z]+)/upload(.*) /k/$1/upload$2 [L,QSA]

You don't need the backslash before -, do you? And same as above for (.*).
Comment on attachment 459192 [details] [diff] [review]
point `/upload/` to kitsune

WFM.

This is the style we've been using for all the other apps. Rewriting /uploadusifnse is fine, as it triggers a nicer 404 page than it would otherwise.
Attachment #459192 - Flags: review?(james) → review+
how is this different than adding an image path into a forum post/question?
This bug is about giving us the ability to upload images (or files) through Kitsune to SUMO. We don't currently have another way of doing that.
Blocks: 582775
Depends on: 582812
This landed and all the relevant SQL ran. We're waiting on bug 582812 to get libjpeg installed.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified able to upload images
Status: RESOLVED → VERIFIED
That, and it's looking really good!
Flags: in-litmus?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: