Direct access link broken


Direct access link broken
#1
Hi all,

I'm the author of BrickStore and for the last ~15 years, I had my daily database-update script download the current LDConfig.ldr from ldraw.org to create an up-to-date mapping between BL and LDraw colors.

The URL I've used for those 15 years was: https://www.ldraw.org/library/official/ldconfig.ldr
Now in Feb. 2023 this stopped working, because your web-server suddenly became case-sensitive. Fair enough - I changed the URL to https://www.ldraw.org/library/official/LDConfig.ldr

But now since March 17th, it broke again, this time the download fails due to an "Insecure redirect" to http://library.ldraw.org/library/official/LDConfig.ldr (notice the missing 's' in http://).
The same happens in a normal browser. Adding the 's' back into https:// makes the download work again.

My question is now: what would be a stable URL to access this file? Can you fix the redirect to stay on SSL or should I switch to https://library.ldraw.org/... instead?

Thanks for looking into this!
Robert
Reply
RE: Direct access link broken
#2
(2023-03-20, 20:37)Robert Griebl Wrote: My question is now: what would be a stable URL to access this file? Can you fix the redirect to stay on SSL or should I switch to https://library.ldraw.org/... instead?

The correct answer would be to switch to https://library.ldraw.org/. The library will stay on this address indefinitely (return code 301) and any links that can be changed, should be changed. I opened up non-SSL linking for legacy programs that use these URLs.
Reply
RE: Direct access link broken
#3
(2023-03-20, 21:07)Orion Pobursky Wrote: The correct answer would be to switch to https://library.ldraw.org/. The library will stay on this address indefinitely (return code 301) and any links that can be changed, should be changed. I opened up non-SSL linking for legacy programs that use these URLs.

Thanks - I switched to the library one now. Hopefully this one keeps working for the next 15 years Wink 

--
Robert
Reply
RE: Direct access link broken
#4
(2023-03-20, 21:07)Orion Pobursky Wrote: The correct answer would be to switch to https://library.ldraw.org/. The library will stay on this address indefinitely (return code 301) and any links that can be changed, should be changed. I opened up non-SSL linking for legacy programs that use these URLs.

Will the library archive files also continue to be available at their address indicated on the direct-parts-access LDraw.org page ?  

This is to say, https://library.ldraw.org/library/updates/complete.zip for official parts and https://library.ldraw.org/library/unoffi...rawunf.zip for unofficial parts ?

Cheers,
Reply
RE: Direct access link broken
#5
(2023-03-21, 18:55)Trevor Sandy Wrote: Will the library archive files also continue to be available at their address indicated on the direct-parts-access LDraw.org page ?  

This is to say, https://library.ldraw.org/library/updates/complete.zip for official parts and https://library.ldraw.org/library/unoffi...rawunf.zip for unofficial parts ?

Cheers,

I've updated that page with the new PT links. That said, what you have above is correct and will not change.
Reply
RE: Direct access link broken
#6
(2023-03-21, 19:09)Orion Pobursky Wrote: I've updated that page with the new PT links. That said, what you have above is correct and will not change.

Excellent - Many thanks.

The direct-parts-access LDraw.org page currently show https://www.ldraw.org/library/updates/complete.zip for the official parts archive and https://www.ldraw.org/library/unofficial/ldrawunf.zip for the unofficial parts archive. Will these currently working links also remain in place ?

Cheers,
Reply
RE: Direct access link broken
#7
(2023-03-21, 19:34)Trevor Sandy Wrote: Excellent - Many thanks.

The direct-parts-access LDraw.org page currently show https://www.ldraw.org/library/updates/complete.zip for the official parts archive and https://www.ldraw.org/library/unofficial/ldrawunf.zip for the unofficial parts archive. Will these currently working links also remain in place ?

Cheers,

As I wrote above, I updated the direct-parts-access page to reflect the current links. The www.ldraw.org links will work but they just 301 redirect to the library.ldraw.org links. This means that all links that can be changed should be changed and those redirects exist solely to preserve functionality for old programs/website that can't be updated. 

The only functionality on direct-parts-access that has not (yet) been updated and is currently broken is ptreleases.cgi but I'm working on that.
Reply
RE: Direct access link broken
#8
(2023-03-21, 19:40)Orion Pobursky Wrote: As I wrote above, I updated the direct-parts-access page to reflect the current links. The www.ldraw.org links will work but they just 301 redirect to the library.ldraw.org links. This means that all links that can be changed should be changed and those redirects exist solely to preserve functionality for old programs/website that can't be updated. 

The only functionality on direct-parts-access that has not (yet) been updated and is currently broken is ptreleases.cgi but I'm working on that.


Understood.

Your direct-parts-access page updates to use https://library.ldraw.org are now propagated. So all is clear.

Cheers,
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)