Project

General

Profile

Bug #22066

Updated by Boone Gorges about 1 month ago

Following up on https://redmine.gc.cuny.edu/issues/22034#note-6 https://redmine.gc.cuny.edu/projects/cunyac/activity?from=2025-02-11 

 The problem here appears to be specific to comments created using the wpdiscuz plugin. Marilyn, can you please get more information on how to insert an image in a comment? Maybe I'm missing something obvious, but I don't see an 'image' or 'attachment' button. See screenshot. 

 Technical note. The reporter's site has comments with image paths like: 

 https://s3.amazonaws.com/files.commons.gc.cuny.edu/wp-content/blogs.dir/35571/files/2025/02/desktop-Aticasmall-1738967759.0601-300x188.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAZUO33UBRWHMWHNJB%2F20250211%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250211T185603Z&X-Amz-SignedHeaders=host&X-Amz-Expires=21600&X-Amz-Signature=b29db9cfabfed9b49983d7d77f6ed757406c52a849cb697e887c3ee1ffffd312 

 No such images exist in S3. I see images with paths like: 

 02/desktop-Aticasmall-150x150.png 
 02/desktop-Aticasmall-300x188.png 
 02/desktop-Aticasmall-624x390.png 
 02/desktop-Aticasmall.png 

 which implies that something in the upload pipeline is causing a suffix to be appended (desktop-Aticasmall-1738967759.0601-300x188.png). But since I can't understand how images are added to comments in the first place, it's not clear to me how or where this is taking place.

Back