Re: Escaping property files keys
Re: Escaping property files keys
- Subject: Re: Escaping property files keys
- From: Ted Archibald <email@hidden>
- Date: Wed, 11 Jul 2012 16:11:19 -0600
Isn't your problem the fact that this property only sets the key name of the file? Perhaps you can set your bucket name as er.attachment.s3.bucket=bucket/path, but that's just a guess.
On Wed, Jul 11, 2012 at 3:30 PM, Benjamin Harrington
<email@hidden> 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 '/'. 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 / 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden