|
I assume it is simple. I paste it into Edge and get nothing, so I start to wonder if I did something wrong for not getting anything...
diligent hands rule....
|
|
|
|
|
1) Paste it to the bitbucket and never look at it again.
Or
2) Open a sandbox and paste it to Edge / IE there, then close the sandbox before it opens just in case.
Link shorteners: I never trust 'em ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I posted my project on upwork.com and someone sent an application with this short url for his work.
I paste it into Edge and get nothing, so I start to wonder if I did something wrong for not getting anything...
diligent hands rule....
|
|
|
|
|
If someone can't send a full URL that you can validate, you don't want them working for you.
|
|
|
|
|
very good thought!
diligent hands rule....
|
|
|
|
|
Yeah,
Probably shouldn't put much trust into the Windows sandbox either.
To more safely have a look at where those shortened URL are going you can ask curl to ignore the response body and just print the HTTP headers. You would be looking for the 'Location' header.
Example:
D:\netsec_tools>curl -k -i -s -o NUL -v https://www.shorturl.at/nBLM7
* Trying 104.21.44.181...
* TCP_NODELAY set
* Connected to www.shorturl.at (104.21.44.181) port 443 (#0)
> GET /nBLM7 HTTP/1.1
> Host: www.shorturl.at
> User-Agent: curl/7.80. 0
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Sat, 27 Nov 2021 23:14:56 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< location: https://www.codeproject.com/Lounge.aspx <----TARGET
|
|
|
|
|
thank you for this message! now I get it !
diligent hands rule....
|
|
|
|
|
Well,
I'm not sure what you think you're understanding. But the shortened URL generated on that site seem to only last around 15 minutes. You can test this yourself.
Best Wishes,
-David Delaune
|
|
|
|
|
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.
~$ 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
|
|
|
|
|
So,
The reason you 'get something different' is because the shortened URL generated on that site only lasts around 15 minutes. It looks like they charge $9/month to have them persist longer.
It's probably also the reason Southmountain is unable to download his data.
Generate a new URL and it should work as described.
|
|
|
|
|
I wondered if it had expired but couldn't find that info. Its probably time to clean my glasses again
Thank you
|
|
|
|
|
|
Ok. Did some tests. Just in case anyone ends up here wanting to use the command in Linux, curl (at least in Xubuntu 21.04) requires (for shorturl.at but also maybe for others) the "-L" (upper case L) to follow the redirection otherwise it will just report the website on the shortened URL.
|
|
|
|
|
... I feel I, too, should add something to brighten your weekend. I am something of an opera buff, but they take a long time to get through, so we need something shorter. Now Wagner's Ring cycle is the longest of them all, running at about 20 hours, depending on the ferocity of the conductor and the girth of the soloists' chests, so here a is a synopsis taking just over 20 minutes, complete with appropriate musical extracts.
Anna Russell Wagner Ring Cycle - YouTube[^]
If this doesn't raise a smile or two, then please consider carefully whether you may actually be dead or not.
|
|
|
|
|
tl;dl*
* too long;didn't listen**
** may do later though ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Tl;dl indeed! Twenty hours cut down to twenty minutes - you think that's long? I guess you're never going to Bayreuth, then.
|
|
|
|
|
Modern attention spans are like, what? 30 seconds? Maaaan.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I think you're taking my listening suggestion far too seriously, perhaps because you don't know Anna Russel.
If ever I feel I am taking grand opera too seriously, I bring myself back down to earth by listening to Anna Russell.
|
|
|
|
|
|
|
Masterpiece indeed. The adagio became very popular following its inclusion in the theme music for the film 'Out of Africa'. This also increased the performance of the whole concerto in the concert hall.
However, it is music of a very different tenor (pun quite deliberate) to my suggestion. Anna Russell is to grand opera what Victor Borge is to the grand piano.
|
|
|
|
|
|
Quote: I know she's a tracker
Any scarlet would back her
And they say she's a chooser
But I just can't refuse her
She was just there
But then she can't be here, no more
|
|
|
|
|
I am working my little MCU on all cylinders. Both CPU cores pumping along, 3 out of 4 SPI ports buzzing, along with 1 out of 2 I2C busses, PSRAM humming away.
It's getting to the point in my code where I have to be very careful adding or changing anything because anything I do can cause frame drops. That's how much I'm pushing the envelope with this device. It's operating at just below redline and I love it, doing everything it can.
I don't know why I like coding in constrained environments so much - maybe for the same reason I appreciate ASCII art.
Real programmers use butterflies
|
|
|
|
|
And what do you think about unicode art?
|
|
|
|