POV-Ray : Newsgroups : povray.general : search field in web news interface has bug Server Time
6 Nov 2024 22:15:38 EST (-0500)
  search field in web news interface has bug (Message 1 to 2 of 2)  
From:
Subject: search field in web news interface has bug
Date: 26 Jun 2002 08:45:28
Message: <dddjhu89k2h7vmsacnq4kl97h54jjjsstt@4ax.com>
When I type "don't" or "it's" or just "'" in input of search text in
http://news.povray.org/ and hit "Search" then in recived page in search field
there is "don\'t" ("it\'s" , "\'") but list of files is correct. When I hit
"Search" again then list is empty and word changes to "don\\\'t" ("it\\\'s" ,
"\\\'"). I don't know if it happens for other characters than ' or \. I think
after reload field should contain original text.

ABX


Post a reply to this message

From: marabou
Subject: Re: search field in web news interface has bug
Date: 26 Jun 2002 09:17:27
Message: <3d19bee6@news.povray.org>


> When I type "don't" or "it's" or just "'" in input of search text in
> http://news.povray.org/ and hit "Search" then in recived page in search
> field there is "don\'t" ("it\'s" , "\'") but list of files is correct.
> When I hit "Search" again then list is empty and word changes to
> "don\\\'t" ("it\\\'s" , "\\\'"). I don't know if it happens for other
> characters than ' or \. I think after reload field should contain original
> text.
> 
> ABX

in scripts you use the backslash in front of an character to avoid 
interpretating the character through a shell or other interpreter. it is 
mostly used in front of control characters. the news-script substitutes the 
' through \'. sent back to the news-server it comes back as \\' because the 
backslash is a control character either. this goes on until you reach 255 
characters in post method...

hope, it helps.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.