> 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
|