Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How raw is getRaw?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nick Ramsay  
View profile  
 More options Jun 20 2009, 3:04 pm
From: Nick Ramsay <n...@longcountdown.com>
Date: Sat, 20 Jun 2009 12:04:16 -0700 (PDT)
Local: Sat, Jun 20 2009 3:04 pm
Subject: How raw is getRaw?
Hi all, a newbie question for you:

Does getRaw provide basic sanitation, or does it really return the
rawest of raw input?

Thank you!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
funkatron  
View profile  
 More options Jun 20 2009, 3:53 pm
From: funkatron <funkat...@gmail.com>
Date: Sat, 20 Jun 2009 12:53:02 -0700 (PDT)
Local: Sat, Jun 20 2009 3:53 pm
Subject: Re: How raw is getRaw?
getRaw() provides *no* sanitation. it is the exact value as retrieved
from the superglobal.

--
Ed Finkler
http://funkatron.com
Twitter:@funkatron
AIM: funka7ron
ICQ: 3922133
XMPP:funkat...@gmail.com

On Jun 20, 3:04 pm, Nick Ramsay <n...@longcountdown.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nick Ramsay  
View profile  
 More options Jun 20 2009, 11:20 pm
From: Nick Ramsay <n...@longcountdown.com>
Date: Sat, 20 Jun 2009 20:20:34 -0700 (PDT)
Local: Sat, Jun 20 2009 11:20 pm
Subject: Re: How raw is getRaw?
Okay. In that case, which filter would be most appropriate if the
input contains a hyphen or underscore such as in the case of a user
name, e.g. my_name or my-name?

I'm guessing noTags?

Many thanks,
Nick.

On Jun 21, 4:53 am, funkatron <funkat...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed Finkler  
View profile  
 More options Jun 30 2009, 9:27 am
From: Ed Finkler <funkat...@gmail.com>
Date: Tue, 30 Jun 2009 09:27:44 -0400
Local: Tues, Jun 30 2009 9:27 am
Subject: Re: [inspekt] Re: How raw is getRaw?
That would work, but I wonder if it would be appropriate to have a
filter which handles alnum plus '-' and '_'. That's a pretty common
username convention.

--
Ed Finkler
http://funkatron.com
Twitter:@funkatron
AIM: funka7ron
ICQ: 3922133
XMPP:funkat...@gmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt McKeon  
View profile  
 More options Jun 30 2009, 9:53 am
From: Matt McKeon <m...@mmckeon.com>
Date: Tue, 30 Jun 2009 09:53:29 -0400
Local: Tues, Jun 30 2009 9:53 am
Subject: Re: [inspekt] Re: How raw is getRaw?
What if the filtering functions allowed for a 2nd array argument where
you could specify additional characters to allow for that operation?
Sometimes I might want a username to allow a period and others not for
instance.

Something like that would be more accommodating then a predefined check
that would require me to hack in a new regex for a project.

Just a thought,
Matt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ed Finkler  
View profile  
 More options Jun 30 2009, 10:00 am
From: Ed Finkler <funkat...@gmail.com>
Date: Tue, 30 Jun 2009 10:00:52 -0400
Local: Tues, Jun 30 2009 10:00 am
Subject: Re: [inspekt] Re: How raw is getRaw?
Yeah, that might be a possibility too. Not sure if I want to do that
on all of them, but maybe an "isUsername" tester that takes a second
arg. Maybe. That could complicate use by the cage objects, though.

--
Ed Finkler
http://funkatron.com
Twitter:@funkatron
AIM: funka7ron
ICQ: 3922133
XMPP:funkat...@gmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nick Ramsay  
View profile  
 More options Jun 30 2009, 10:17 am
From: Nick Ramsay <n...@longcountdown.com>
Date: Tue, 30 Jun 2009 07:17:00 -0700 (PDT)
Subject: Re: How raw is getRaw?
After posting my earlier question, I went on to use a testRegex which
has worked fine, but does seem like overkill. I like the idea of a 2nd
array argument, but would be tempted to give the tester a more generic
name like "isName" since it would be useful for other kinds of names
and labels, too.

Thanks for considering this.
Nick.

On Jun 30, 11:00 pm, Ed Finkler <funkat...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »