mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
* Fix for bug [#1578], making the Imgur filename configurable and having the current time in the default pattern fixes the information leak.
This commit is contained in:
parent
be515aeac6
commit
85e8a59447
2 changed files with 4 additions and 2 deletions
|
@ -172,7 +172,7 @@ namespace GreenshotImgurPlugin {
|
|||
public bool Upload(ICaptureDetails captureDetails, ISurface surfaceToUpload, out string uploadURL) {
|
||||
SurfaceOutputSettings outputSettings = new SurfaceOutputSettings(config.UploadFormat, config.UploadJpegQuality, config.UploadReduceColors);
|
||||
try {
|
||||
string filename = Path.GetFileName(FilenameHelper.GetFilename(config.UploadFormat, captureDetails));
|
||||
string filename = Path.GetFileName(FilenameHelper.GetFilenameFromPattern(config.FilenamePattern, config.UploadFormat, captureDetails));
|
||||
ImgurInfo imgurInfo = null;
|
||||
|
||||
// Run upload in the background
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue