Click here to Skip to main content
15,894,539 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: a rookie question: Pin
OriginalGriff27-Nov-21 11:19
mveOriginalGriff27-Nov-21 11:19 
GeneralRe: a rookie question: Pin
Southmountain27-Nov-21 11:33
Southmountain27-Nov-21 11:33 
GeneralRe: a rookie question: Pin
obermd27-Nov-21 12:10
obermd27-Nov-21 12:10 
GeneralRe: a rookie question: Pin
Southmountain27-Nov-21 16:43
Southmountain27-Nov-21 16:43 
GeneralRe: a rookie question: Pin
Randor 27-Nov-21 12:29
professional Randor 27-Nov-21 12:29 
GeneralRe: a rookie question: Pin
Southmountain27-Nov-21 16:41
Southmountain27-Nov-21 16:41 
GeneralRe: a rookie question: Pin
Randor 28-Nov-21 5:47
professional Randor 28-Nov-21 5:47 
GeneralRe: a rookie question: Pin
ElectronProgrammer28-Nov-21 2:17
ElectronProgrammer28-Nov-21 2:17 
I saw this and wondered if it works the same in Linux (Xubuntu) and, the parameters are the same with the same functionality but, the answer is different and does not give the same location. Even if I add the -L parameter that handles redirection types, I get the same answer.
I read in a post that this happens because of ads!

I do not know what is different in curl on the windows version to work there.

Terminal
~$ curl -k -i -s -o NUL -v https://www.shorturl.at/nBLM7
*   Trying 104.21.44.181:443...
* Connected to www.shorturl.at (104.21.44.181) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [122 bytes data]
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
{ [19 bytes data]
* TLSv1.3 (IN), TLS handshake, Certificate (11):
{ [2332 bytes data]
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
{ [80 bytes data]
* TLSv1.3 (IN), TLS handshake, Finished (20):
{ [52 bytes data]
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.3 (OUT), TLS handshake, Finished (20):
} [52 bytes data]
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
*  start date: Jul  8 00:00:00 2021 GMT
*  expire date: Jul  7 23:59:59 2022 GMT
*  issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x55b159954fd0)
} [5 bytes data]
> GET /nBLM7 HTTP/2
> Host: www.shorturl.at
> user-agent: curl/7.74.0
> accept: */*
> 
{ [5 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [230 bytes data]
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
{ [230 bytes data]
* old SSL session ID is stale, removing
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
} [5 bytes data]
< HTTP/2 302 
< date: Sun, 28 Nov 2021 12:38:03 GMT
< content-type: text/html; charset=UTF-8
< location: https://www.shorturl.at/
< x-frame-options: SAMEORIGIN
< x-xss-protection: 1; mode=block
< x-content-type-options: nosniff
< x-nginx-upstream-cache-status: MISS
< x-server-powered-by: Engintron
< cf-cache-status: DYNAMIC
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=6obe2yECtgIWuG9rKmwkSkcYlS4fWL4BnzTplZEr3lsRdfAjaOTzd%2FLQfba1jCzffrpInMeRYUk4fFZshDVvU0pblkaCBscUDodtFVSJs%2F%2FdaGGsiCUT%2Bebost12DbjtSns%3D"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
< cf-ray: 6b53a6ab3d74071a-LHR
< alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400
< 
{ [0 bytes data]
* Connection #0 to host www.shorturl.at left intact


I hate shortened URLs. And very long URLs too D'Oh! | :doh:
GeneralRe: a rookie question: Pin
Randor 28-Nov-21 5:34
professional Randor 28-Nov-21 5:34 
GeneralRe: a rookie question: Pin
ElectronProgrammer28-Nov-21 5:49
ElectronProgrammer28-Nov-21 5:49 
GeneralRe: a rookie question: Pin
Randor 28-Nov-21 6:02
professional Randor 28-Nov-21 6:02 
GeneralRe: a rookie question: Pin
ElectronProgrammer28-Nov-21 6:29
ElectronProgrammer28-Nov-21 6:29 
GeneralWith all these music posts coming up ... Pin
Chris C-B26-Nov-21 21:08
Chris C-B26-Nov-21 21:08 
GeneralRe: With all these music posts coming up ... Pin
OriginalGriff26-Nov-21 21:41
mveOriginalGriff26-Nov-21 21:41 
GeneralRe: With all these music posts coming up ... Pin
Chris C-B26-Nov-21 23:22
Chris C-B26-Nov-21 23:22 
GeneralRe: With all these music posts coming up ... Pin
OriginalGriff26-Nov-21 23:38
mveOriginalGriff26-Nov-21 23:38 
GeneralRe: With all these music posts coming up ... Pin
Chris C-B27-Nov-21 0:37
Chris C-B27-Nov-21 0:37 
GeneralRe: With all these music posts coming up ... Pin
David O'Neil27-Nov-21 17:42
professionalDavid O'Neil27-Nov-21 17:42 
GeneralRe: With all these music posts coming up ... Pin
phil.o26-Nov-21 23:41
professionalphil.o26-Nov-21 23:41 
GeneralRe: With all these music posts coming up ... Pin
Chris C-B27-Nov-21 0:29
Chris C-B27-Nov-21 0:29 
NewsStudy: Effectiveness of Apple's App Tracking Transparency Pin
abmv26-Nov-21 19:44
professionalabmv26-Nov-21 19:44 
GeneralRe: Study: Effectiveness of Apple's App Tracking Transparency Pin
RickZeeland26-Nov-21 21:12
mveRickZeeland26-Nov-21 21:12 
GeneralTo the metal Pin
honey the codewitch26-Nov-21 9:03
mvahoney the codewitch26-Nov-21 9:03 
GeneralRe: To the metal Pin
0x01AA26-Nov-21 10:04
mve0x01AA26-Nov-21 10:04 
GeneralRe: To the metal Pin
honey the codewitch26-Nov-21 10:05
mvahoney the codewitch26-Nov-21 10:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.