• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Escaping property files keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Escaping property files keys (From: Benjamin Harrington <email@hidden>)

  • Prev by Date: Re: [OT] New js framework
  • Next by Date: Re: Migrating from EOF to Cayenne
  • Previous by thread: Escaping property files keys
  • Next by thread: Re: Escaping property files keys
  • Index(es):
    • Date
    • Thread