Open benrfairless opened 9 years ago
@gov.wales
doesn't get masked: https://www.whatdotheyknow.com/request/information_regarding_barry_dock#incoming-1165815
Just to note on WhatDoTheyKnow.com the policy/intent isn't to redact all phone numbers, just mobiles (which are viewed as more personal/intrusive to publish).
+1 Have dealt with the removal of a mobile phone number that masking based on a pattern detecting numbers starting with 07... would have caught.
See discussion at #6081 for the surprising way mobile phone redaction apparently currently works - reliant on the number being preceded by Mobile or Mob ... Tel ??
+1 - Just to note, we've had a report from a WDTK user tonight of a case where a mobile number was disclosed some 39 times as part of a (former?) pro user's batch request.
A redacted quote of the problematic content:
If you cannot provide the full breakdown of information I have requested, please contact me to discuss what information you could supply at the earliest opportunity on 07000 000000.
We've fixed this by implementing a censor rule, but it'd be beneficial if we could automate this, so as to protect our users from perhaps inadvertently publishing a number that they didn't mean for everyone to see. It might be less important, in this context, since our journalist user might have their number published elsewhere - but we don't know for sure.
part of a (former?) pro user's batch request.
We might want to strengthen advice given to pro users, and urge them to keep correspondence on site, though I'm mindful that may be an approach that works well for some people, yet a phone call might lead to the best outcome for others.
Can the new PDF redaction tools described at https://github.com/mysociety/alaveteli/issues/5966#issuecomment-1133018818 be applied to this issue - to make masking work within more PDFs.
I've just tested emailing the below into our test instance:
Only the 1st line was successfully masked.
Would it be possible to: