This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ranch admins - flaw in the validation logic for a message

 
Larry Olson
Ranch Hand
Posts: 142
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranch admins,

I don't know where to post this, so I am posting this here.

I am trying to post a message in the SCWCD forum to ask the folks over there if the link/url to a page I have is the correct/current/latest/official link for the SCWCD objectives. But unfortunately that link/url contains a word that isn't accepted by the submission script. But the problem is that the submit process fails to recognize the fact that this word is part of the URL and should be allowed to be posted!!! I tried putting it in URL tag, code tag and all other tags...but it still won't allow me to post.

OK, here is the link: The only difference is that I have replaced the word by "p l s", by introducing spaces between the letters...

http://education.oracle.com/p l s/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_858

This is a flaw in the validation logic. Please get this fixed...so that I could post the message. The error message I received is (again I have put "p l s"):

We're sorry, but your post appears to contain abbreviations that we don't like people to use at the Ranch. Because JavaRanch is an international forum, many of our members are not native English speakers. For that reason, it's important that we all try to write clear, standard English, and avoid abbreviations and SMS shortcuts. See here for more of an explanation. Thanks for understanding.

If the abbreviation occurs within code, you can use code tags to post it successfully.

The specific error message is: "p l s" is a silly English abbreviation; use "please" instead.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to Ranch Office
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you need to post a character that the "l33t" filter won't let though, you can substitute the character with its HTML entity equivalent.

It's easy: &#nn; where nn is the decimal ASCII value for the character. For example to post R enter R

For the small "p" in pls, use p
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It was added to our bug list earlier in the week.

The workarounds are what Bear said or to use the [ url ] tag. Click the URL button and it prompts you for a link and description. The URL tag's link part isn't checked for p l s.
 
Larry Olson
Ranch Hand
Posts: 142
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks. But that doesn't work. Here is the URL I am posting by replacing the letters in "p l s" by the corresponding HTML entity equivalent. But the problem is when I surround it by URL tags and when the final link gets posted and you click on it, it literally translates into those entity characters and doesn't translate back to "p l s", without spaces.

i.e. when you click on it, you will land into

http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_858

and not

http://education.oracle.com/p l s/web_prod-plq-dad/db_pages.getpage?page_id=41&p_exam_id=1Z0_858

Do you see the problem here?
 
Larry Olson
Ranch Hand
Posts: 142
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, got around this by clicking on the "URL" and using scripting...thanks.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33696
316
Eclipse IDE Java VI Editor
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic