Open benrfairless opened 6 years ago
Considering these as possbile options:
^(?:\+?(61))? ?(?:\((?=.*\)))?(0?[2-57-8])\)? ?(\d\d(?:[- ](?=\d{3})|(?!\d\d[- ]?\d[- ]))\d\d[- ]?\d[- ]?\d{3})$
or
\b([\+-]?\d{2}|\d{4})\s*\(?\d+\)?\s*(?:\d+\s*)+\b
Both of these would hide all Australian numbers from Right to Know
It would be great to see a little more discussion about why this is needed.
Good point!
We’ve had members of the community publish their personal mobiles. Alaveteli hides UK mobiles by default as mobile numbers really aren’t fair to publish.
There is also the fact that some agencies get a bit grumpy and have told us their numbers are being harvested by telemarketers which isn’t fair on them.
Added this to the Public Authorities Triage as it's feedback we've already got from authorities.
@benrfairless I think this would only censor this data in the text on the website; it's not going to censor anything in the emails going back and forth to the parties involved, and it's not going to censor any attachments. Is that right?
This would censor documents and the correspondence published on the site in the same way that email addresses are censored.
When we tried to do this it caused the server to fill with log files and PDF documents to be inaccessible. I'm sure that UK numbers are censored, I just don't know how to do this for AU numbers.
Censor mobile numbers and other personal information. This can probably be achieved by regex in censor rules.