question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Regular expression exposed when uploading files

See original GitHub issue

Summary

Regular expression exposed when uploading files

Steps to reproduce

Open Wikipedia Commons app (https://play.google.com/store/apps/details?id=fr.free.nrw.commons) Upload` a file to Wikipedia Commons

Expected behaviour

No regular expression exposed.

Actual behaviour

Regular expression exposed in information box. Screenshot_20220308-185824311 (1)

Device name

ASUS Zenfone 6

Android version

Android 10

Commons app version

3.1.1

Device logs

No response

Screen-shots

No response

Would you like to work on the issue?

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Abijeetcommented, May 10, 2022

We’ve added a validator to ensure that these variables cannot be skipped in translations.

image

1reaction
Nikerabbitcommented, Mar 17, 2022

Please ping @translatewiki in the future to get attention from our support team.

Looks like one translator has used $ in place of %. I have filed https://phabricator.wikimedia.org/T304043 to prevent it from happening again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unrestricted File Upload - OWASP Foundation
Uploaded files represent a significant risk to applications. The first step in many attacks is to get some code to the system to...
Read more >
Customize Rules to Expose a Wider Range of Sensitive Data ...
Regular Expression (regex) is a flexible and powerful tool that can be used in multiple components of Tanium, including in Tanium Reveal.
Read more >
danielquinn/paperless - Gitter
When i put files into my Samba share nothing happens and when using the Web Uploader it gives me the "An error has...
Read more >
How to use Regular expression to test for FIle Names with ...
Can anyone see a way to use this to match on and restrict special characters in the file names? Here is the RegEx...
Read more >
Is exposing regex in error response to end user bad practice?
In practice, pretty much every email validating regex is useless. It's far more useful, and with no false negatives, to simply check there's...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found