Hi Benjamin, The value defined by the er.attachment.s3.key property is always encoded. It doesn't cause any real problem in runtime besides the ugly URL. One possible solution is to convert '%2F' back to '/' after the URL encoding executed here [1].
[1]https://github.com/projectwonder/wonder/blob/integration/Frameworks/BusinessLogic/ERAttachment/Sources/er/attachment/processors/ERS3AttachmentProcessor.java#L104 Cheers, Henrique On 11/07/2012, at 18:30, Benjamin Harrington wrote: > Hello All, > > I was having an issue with ERAttachment (s3 mode). When setting the property > file attribute: > > er.attachment.s3.key=projectName/${pk}${ext} > > The '/' gets escaped into '%2F'. The default value is ${pk}${ext} (primary > key).(mime extension) which work as expected. > > I've tried several options such as escaping with a backslash, feeding it the > %2F instead, or any other tweaks I could think of, but it always comes out as > URL encoding. > > Any thoughts on this? I would like to avoid programmatically setting this, > as the ERXAttachmentUploader and such classes are concise and handy. > > Thanks! > > -Benny > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com > > This email sent to hpra...@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com