wu :: forums
« wu :: forums - A character string that causes server error »

Welcome, Guest. Please Login or Register.
Apr 25th, 2024, 10:37pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   suggestions, help, and FAQ
(Moderators: Icarus, william wu, towr, SMQ, Grimbal, Eigenray, ThudnBlunder)
   A character string that causes server error
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: A character string that causes server error  (Read 2451 times)
fiziwig
Junior Member
**





   


Posts: 78
A character string that causes server error  
« on: Jun 13th, 2007, 6:15pm »
Quote Quote Modify Modify

The character string consisting of the four characters:
double quote
percent sign
r (lower case)
double quote
 
anywhere in the submitted text causes the server to reply with the message:
 
Bad Request
 
Your browser sent a request that this server could not understand.
Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8e Server at www.ocf.berkeley.edu Port 80
 
when the "Post" button is clicked.
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: A character string that causes server error  
« Reply #1 on: Jun 14th, 2007, 1:56am »
Quote Quote Modify Modify

Just the percent sign is enough to cause a problem at the moment.
 
And when I try to delete old PMs or posts, I get  
Quote:
Method Not Implemented
 
GET to /~wwu/cgi-bin/yabb/YaBB.cgi not supported.
Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8e Server at www.ocf.berkeley.edu Port 80
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: A character string that causes server error  
« Reply #2 on: Jun 14th, 2007, 3:32am »
Quote Quote Modify Modify

%20 works.
00 instead of 20 doesn't.
 
As I said, I suspect there is an URLDecode going on, and a °/o without a valid code either creates an exception or is refused as suspect.
 
There must be a new firewall somewhere.
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: A character string that causes server error  
« Reply #3 on: Jun 21st, 2007, 9:58am »
Quote Quote Modify Modify

The problem that caused the error when trying to delete posts has been fixed, so you can recommence hiding your mistakes Wink
 
They're still searching for the percent-sign problem though.
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: A character string that causes server error  
« Reply #4 on: Jun 21st, 2007, 1:44pm »
Quote Quote Modify Modify

And now we can also post % to our hearts content again.
 
[e]actually, there's still a few strings beginning with % that don't work (like with 00), but I doubt they'll be a problem.[/e]
« Last Edit: Jun 21st, 2007, 2:12pm by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: A character string that causes server error  
« Reply #5 on: Jun 22nd, 2007, 5:19am »
Quote Quote Modify Modify

%
 
wow!
 
I've never appreciated the simple pleasure of posting a % sign before.
IP Logged
Sameer
Uberpuzzler
*****



Pie = pi * e

   


Gender: male
Posts: 1261
Re: A character string that causes server error  
« Reply #6 on: Jun 22nd, 2007, 4:34pm »
Quote Quote Modify Modify

on Jun 22nd, 2007, 5:19am, Grimbal wrote:
%
 
wow!
 
I've never appreciated the simple pleasure of posting a % sign before.

 
Did you anticipate this appreciation?
 
 I would  have seen you try this flow
 
1) Put % in the typing box
2) Press "Post"
3) Be amazed that the post actually showed up
4) Press "Edit" to type in the appreciation of the simple pleasure you just experience
 
 Wink
IP Logged

"Obvious" is the most dangerous word in mathematics.
--Bell, Eric Temple

Proof is an idol before which the mathematician tortures himself.
Sir Arthur Eddington, quoted in Bridges to Infinity
JiNbOtAk
Uberpuzzler
*****




Hana Hana No Mi

   


Gender: male
Posts: 1187
Re: A character string that causes server error  
« Reply #7 on: Jul 4th, 2007, 3:00am »
Quote Quote Modify Modify

on Jun 22nd, 2007, 4:34pm, Sameer wrote:

 
Did you anticipate this appreciation?
 
 I would  have seen you try this flow
 
1) Put % in the typing box
2) Press "Post"
3) Be amazed that the post actually showed up
4) Press "Edit" to type in the appreciation of the simple pleasure you just experience
 
 Wink

 
Hehe, Sameer, nice observation on Grimby's ESP prowess   Grin
IP Logged

Quis custodiet ipsos custodes?
denis
Uberpuzzler
*****






   


Gender: male
Posts: 1222
Re: A character string that causes server error  
« Reply #8 on: Jul 9th, 2007, 7:11pm »
Quote Quote Modify Modify

I get the famous  "Bad Request Your browser sent a request that this server could not understand " whenever I have the umlaut (the double dot) over a vowel like in naive (here I used only the single dot on the "i" just so it could post this).  
 
I suspect letters with french accents might also be affected but haven't tried.
« Last Edit: Jul 10th, 2007, 12:59am by denis » IP Logged
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: A character string that causes server error  
« Reply #9 on: Jul 10th, 2007, 1:08am »
Quote Quote Modify Modify

ï?
IP Logged
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: A character string that causes server error  
« Reply #10 on: Jul 10th, 2007, 1:42am »
Quote Quote Modify Modify

The post above is the UTF-8 encoding of i-with-2-dots. The A-tilde alone (and all french accentuated characters I tested) are rejected.
One explanation I see is that there is a firewall that filters incoming requests and rejects anything suspicious.  It assumes the post is UTF-8 and tries to decode it.  If it cannot do that, it rejects the request.
IP Logged
denis
Uberpuzzler
*****






   


Gender: male
Posts: 1222
Re: A character string that causes server error  
« Reply #11 on: Jul 10th, 2007, 6:59am »
Quote Quote Modify Modify

Thanks for checking this Grimbal. I suspected as much.
 
My problem occurred when I was trying to put up my longest post (Framed!) so I thought it was the large size. But then I compared the size against the incredibly long riddle "Feux d'artifice" from Iceman. Mine had less text so I had to search out the problem by adding one paragraph at a time until I found the offending paragraph, then the offending sentence and then the offending word.
« Last Edit: Jul 10th, 2007, 7:03am by denis » IP Logged
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: A character string that causes server error  
« Reply #12 on: Jul 12th, 2007, 12:10pm »
Quote Quote Modify Modify

Percent may be working; ampersand () seems to still cause errors.  This can be a problem when posting code...
 
--SMQ
IP Logged

--SMQ

towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: A character string that causes server error  
« Reply #13 on: Jul 12th, 2007, 12:28pm »
Quote Quote Modify Modify

I seem to have no problems posting &
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: A character string that causes server error  
« Reply #14 on: Jul 12th, 2007, 12:47pm »
Quote Quote Modify Modify

((  seems to give a error, 501 "Method Not Implemented"  
So that's different in nature than the 400 "bad request" the % gave. I cant' seem to find a lot of combinations with & that give a problem though.
« Last Edit: Jul 12th, 2007, 12:48pm by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: A character string that causes server error  
« Reply #15 on: Jul 12th, 2007, 12:48pm »
Quote Quote Modify Modify

Hmm, this post of mine was throwing a server error until I replaced the & with its image.  I'll try a few experiments.
 
Edit: the magic expression seems to be: /\([^0-9A-Za-z_]*&[^0-9A-Za-z_]*\(/ -- i.e. open-paren, optionally any string of entirely non-alphanumeric characters excluding underscore, ampersand, optionally any string of entirely non-alphanumeric characters excluding underscore, open-paren.  Very odd.
 
--SMQ
« Last Edit: Jul 12th, 2007, 1:16pm by SMQ » IP Logged

--SMQ

Sameer
Uberpuzzler
*****



Pie = pi * e

   


Gender: male
Posts: 1261
Re: A character string that causes server error  
« Reply #16 on: Jul 12th, 2007, 1:16pm »
Quote Quote Modify Modify

on Jul 12th, 2007, 12:47pm, towr wrote:
((  seems to give a error, 501 "Method Not Implemented"  
.

er. the message seems scary.. looks like somebody could execute something on the server by passing appropriate string..  Undecided
IP Logged

"Obvious" is the most dangerous word in mathematics.
--Bell, Eric Temple

Proof is an idol before which the mathematician tortures himself.
Sir Arthur Eddington, quoted in Bridges to Infinity
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: A character string that causes server error  
« Reply #17 on: Jul 12th, 2007, 1:20pm »
Quote Quote Modify Modify

on Jul 12th, 2007, 1:16pm, Sameer wrote:

er. the message seems scary..

Nah, it means "method" in the HTML sense, e.g. GET, POST, PUT, etc.  It's just a very odd string to trigger a server error...
 
--SMQ
IP Logged

--SMQ

towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: A character string that causes server error  
« Reply #18 on: Jul 12th, 2007, 1:30pm »
Quote Quote Modify Modify

The question is, is it something I ought to bother William or the OCF staff with?
We could throw in the umlauts as well..  
I'm just always a bit hesitant when it's not really a huge problem. On the other hand, perhaps they'd rather know sooner than later.
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
JiNbOtAk
Uberpuzzler
*****




Hana Hana No Mi

   


Gender: male
Posts: 1187
Re: A character string that causes server error  
« Reply #19 on: Jul 12th, 2007, 6:31pm »
Quote Quote Modify Modify

on Jul 12th, 2007, 1:30pm, towr wrote:
The question is, is it something I ought to bother William or the OCF staff with?

 
Of course we should tell them. It may be trivial, but I'm sure they'd want to know.
IP Logged

Quis custodiet ipsos custodes?
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board