Comments (3)
Interestingly, its a URL encoding issue.
The URL that curseforge.com gives you is ...
https://media.forgecdn.net/files/2520/96/inventorysorter-1.12.2-1.13.1+55.jar
But the correct one (which does work) is ...
https://media.forgecdn.net/files/2520/96/inventorysorter-1.12.2-1.13.1%2B55.jar
(The +
is correctly encoded to %2B
)
Would recommend you don't use +
in your filename.
from inventorysorter.
Why not? That is the correct way to encode + and it should be expected, since + is also a get parameter separator.
from inventorysorter.
Curseforge fixed this for you. 👍
It's now (3 days ago this wasn't true) encoding the filename during the final CDN redirect to correct the bad encoding.
$ wget --verbose https://minecraft.curseforge.com/projects/inventory-sorter/files/2520096/download
--2018-01-25 10:30:02-- https://minecraft.curseforge.com/projects/inventory-sorter/files/2520096/download
Resolving minecraft.curseforge.com (minecraft.curseforge.com)... 104.17.150.103, 104.17.151.103, 104.17.149.103, ...
Connecting to minecraft.curseforge.com (minecraft.curseforge.com)|104.17.150.103|:443... connected.
HTTP request sent, awaiting response... 307 Temporary Redirect
Location: https://addons.cursecdn.com/files/2520/96/inventorysorter-1.12.2-1.13.1+55.jar
The above filename in Location:
is what you have on your curseforge page.
The user agent requests this raw filename, with the literal +
...
[following]
--2018-01-25 10:30:03-- https://addons.cursecdn.com/files/2520/96/inventorysorter-1.12.2-1.13.1+55.jar
Resolving addons.cursecdn.com (addons.cursecdn.com)... 104.16.83.211, 104.16.81.211, 104.16.85.211, ...
Connecting to addons.cursecdn.com (addons.cursecdn.com)|104.16.83.211|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://media.forgecdn.net/files/2520/96/inventorysorter-1.12.2-1.13.1%2B55.jar
Which curseforge.com now sees and fixes the encoding (using the %2B
escaping) with the final 302 redirect to the forgeCDN.
Which allows the download to succeed on the next request to the file on the CDN.
[following]
--2018-01-25 10:30:03-- https://media.forgecdn.net/files/2520/96/inventorysorter-1.12.2-1.13.1%2B55.jar
Resolving media.forgecdn.net (media.forgecdn.net)... 52.85.202.147
Connecting to media.forgecdn.net (media.forgecdn.net)|52.85.202.147|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 46420 (45K) [application/octet-stream]
Saving to: ‘download’
download 100%[==========================================================>] 45.33K --.-KB/s in 0.02s
2018-01-25 10:30:03 (2.49 MB/s) - ‘download’ saved [46420/46420]
from inventorysorter.
Related Issues (20)
- Inventory Sorter voids the contents of Industrial Foregoing blocks
- Incompatible with MouseTweaks scrolling HOT 1
- Console Error on Connection to server - inventorysorter-1.18.2-19.0.4 HOT 4
- Not works on client-side?
- [1.19.2] Not working/appearing in storage GUI HOT 1
- Inventory Sorter ignoring blacklist HOT 5
- Sorting ignores item stack size restrictions on slots.
- doesn't sort alphabetically HOT 3
- not working
- Doesn't work on server HOT 3
- If you sort a Sophisticated Backpack in a curious API back slot it gets deleted. Forge 43.2.21; 1.19.2
- sometimes voids items
- How can I TOTALLY DISABLE this mod? HOT 1
- Sorting deletes items in MANY inventories HOT 2
- How do you use the slot type blacklist? HOT 1
- [1.19.2][forge]Item duplication when installed with Create HOT 1
- Suggestion: command option for not middle-click (for those without a middle click) HOT 1
- Blacklist doesn't blacklist the scroll function HOT 1
- GitHub repo doesn't link back to places you can download the mod
- Sorting deletes some items from Nether Chested mod (Tested in Minecraft version 1.20.1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inventorysorter.