Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Stripping bad characters in rss

by Anonymous Monk
on Nov 07, 2022 at 04:40 UTC ( [id://11148020]=note: print w/replies, xml ) Need Help??


in reply to Stripping bad characters in rss

Rather than trying to come up with a blacklist, which could keep shifting, why not use eg https://www.asciitable.com/ to create some regexes that only accept valid (to you) char ranges eg 0-9, a-z, A-Z and a reasonable set of punctuation chars, and reject all others ?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11148020]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-26 08:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found