Thread: Missing Pics
View Single Post
Old April 18th, 2018, 08:10 AM   #6
halvar
Blocked!
 
Join Date: Jan 2008
Location: HH
Posts: 1,963
Thanks: 115,040
Thanked 32,801 Times in 1,955 Posts
halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+
Default

The html of the post looks fine:

HTML Code:
<a href="http://imgbox.com/acsoujoC" target="_blank"><img src="http://t.imgbox.com/acsoujoC.jpg" alt="" onload="NcodeImageResizer.createOn(this);" border="0"></a> <br>
<a href="http://imgbox.com/admSutOP" target="_blank"><img src="http://t.imgbox.com/admSutOP.jpg" alt="" onload="NcodeImageResizer.createOn(this);" border="0"></a></div>
If I try to load the first thumb (http://t.imgbox.com/acsoujoC.jpg) I get a redirect ( 301 Moved Permanently). The redirect target gets a 404 Not Found.

Code:
curl -Lv http://t.imgbox.com/acsoujoC.jpg
*   Trying 46.166.142.239...
* Connected to t.imgbox.com (46.166.142.239) port 80 (#0)
> GET /acsoujoC.jpg HTTP/1.1
> Host: t.imgbox.com
> User-Agent: curl/7.47.0
> Accept: */*
> 
< HTTP/1.1 301 Moved Permanently
< Server: nginx/1.12.2
< Date: Wed, 18 Apr 2018 07:58:49 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/7.1.12
< Location: https://thumbs3.imgbox.com/64/1e/acsoujoC_t.jpg
< 
* Ignoring the response-body
* Connection #0 to host t.imgbox.com left intact
* Issue another request to this URL: 'https://thumbs3.imgbox.com/64/1e/acsoujoC_t.jpg'                            
*   Trying 66.254.122.100...                                                                                      
....
*        issuer: C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO RSA Domain Validation Secure S
*        compression: NULL                                                                                        
* ALPN, server accepted to use http/1.1                                                                           
> GET /64/1e/acsoujoC_t.jpg HTTP/1.1                                                                              
> Host: thumbs3.imgbox.com                                                                                        
> User-Agent: curl/7.47.0                                                                                         
> Accept: */*                                                                                                     
>                                                                                                                 
< HTTP/1.1 404 Not Found                                                                                          
< Date: Wed, 18 Apr 2018 07:58:50 GMT                                                                             
< Content-Type: text/html                                                                                         
< Content-Length: 213                                                                                             
< X-CDN-Diag: fra1-11037-1-33118-e-0-0-404-0.051-1524038330.161;11015-13407---                                    
<                                                                                                                 
....
* Connection #1 to host thumbs3.imgbox.com left intact
The second thumb also does a redirect, but here it succeeds:
Code:
curl -Lv http://t.imgbox.com/admSutOP.jpg -o x.jpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 46.166.142.239...
* Connected to t.imgbox.com (46.166.142.239) port 80 (#0)
> GET /admSutOP.jpg HTTP/1.1
> Host: t.imgbox.com
> User-Agent: curl/7.47.0
> Accept: */*
> 
< HTTP/1.1 301 Moved Permanently
< Server: nginx/1.12.2
< Date: Wed, 18 Apr 2018 08:02:30 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< X-Powered-By: PHP/7.1.12
< Location: https://thumbs3.imgbox.com/9b/0e/admSutOP_t.jpg
< 
* Ignoring the response-body
{ [5 bytes data]
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
* Connection #0 to host t.imgbox.com left intact
* Issue another request to this URL: 'https://thumbs3.imgbox.com/9b/0e/admSutOP_t.jpg'
*   Trying 66.254.122.102...
* Connected to thumbs3.imgbox.com (66.254.122.102) port 443 (#1)
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 597 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
*        server certificate verification OK
*        server certificate status verification SKIPPED
*        common name: *.imgbox.com (matched)
*        server certificate expiration date OK
*        server certificate activation date OK
*        certificate public key: RSA
*        certificate version: #3
*        subject: OU=Domain Control Validated,OU=PositiveSSL Wildcard,CN=*.imgbox.com
*        start date: Tue, 11 Oct 2016 00:00:00 GMT
*        expire date: Thu, 11 Oct 2018 23:59:59 GMT
*        issuer: C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO RSA Domain Validation Secure Server CA
*        compression: NULL
* ALPN, server accepted to use http/1.1
> GET /9b/0e/admSutOP_t.jpg HTTP/1.1
> Host: thumbs3.imgbox.com
> User-Agent: curl/7.47.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Wed, 18 Apr 2018 08:02:30 GMT
< Content-Type: image/jpeg
< Content-Length: 8207
< Last-Modified: Sat, 09 Dec 2017 02:30:47 GMT
< ETag: "1db60c6b9-200f-55fdf16b723c0"
< Expires: Tue, 14 Aug 2018 11:32:35 GMT
< Cache-Control: max-age=10368000
< Accept-Ranges: bytes
< X-CDN-Diag: fra1-11037-3-33315-h-0-0---;11014-4091---
< 
{ [1081 bytes data]
100  8207  100  8207    0     0  28554      0 --:--:-- --:--:-- --:--:-- 28554
I can think of two possible reasons for the different results on different forums:
  • browser cache
  • the forums somehow mangle the urls when rendering the html. Could you post the other forum page (I do not know if this is allowed) or the HTML snippet of the other forum (via "View selection source"). If the HTML is the same, its a browser thing. If the HTML is different, its a forum thing.
halvar is offline   Reply With Quote