REST Semicolon

“So what’s the deal with the semi-colon in the edit URL in REST-enabled
RoR applications?” - Jerry Seinfeld

It’s a good question. Is this acceptable to use in live applications?
Are there any apps online that are refactored to REST where the
semi-colon appears in a URL?

Brandon

We have https://jobs.37signals.com/jobs/new;preview for example. The ;
is a valid character in URLs, so there’s no reason why you should fear
this in a live application.

DHH wrote:

We have https://jobs.37signals.com/jobs/new;preview for example. The ;
is a valid character in URLs, so there’s no reason why you should fear
this in a live application.

DHH… you da man. Keep up the good work.

On Sun, 01 Oct 2006 20:23:56 -0700, DHH wrote:

We have https://jobs.37signals.com/jobs/new;preview for example. The ;
is a valid character in URLs, so there’s no reason why you should fear
this in a live application.

Yes, and plus is a valid character in e-mail addresses, yet I switched
to
hyphens for my “plus-addressing” because so many Perl scripts couldn’t
deal
with plusses. I’d regularly give out “[email protected]” and get
mail addressed to “[email protected]; [email protected]”.

So your first argument (we haven’t seen any problems yet) is much more
convincing than your second (it’s a valid character) :slight_smile:

Jay L.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs