Built in server - size limit on URL parameters?

I have noticed there is a size limit on the URL (or the length of parameters) I can use with the built in server and the limit is rather small. When I call my script with a very long (get)parameter the localhost server returns 404 while the same script with the same parameter works on my other hosting. Can I change the local server to accept longer parameters?

Thanks

0
4 comments

Could you please provide example URL? I will check it and fix.

0

for instance this url will return 404 when run on the webstorm's localhost and I can confirm it's only the length that is the problem. (The data is a result of LZString.compressToBase64())

http://sankeybuilder.wikibudgets.org/index.html?mode=1&data=NobwRALgngDgpmAXGGBLBAaMB9VATJMAQwFYB3IgJwFcBGANwjCwDsiBbBZAJgAZaAzAAIASnADOESqgDGEOHiEAzaiwJZx1dkloAWAOwBOPr1NYAHkm7HavAGy6AHNwB0JWiRK9d9rFCQAtHYCvHyuvCTcdo6eerRYMgD2ADaJlIQAxHYAwnYAInYAYmAAvhjg0PCEaJg4+IS87FB49CT6ugLMYGychNmJ7OyoEPKKAOao9KgsY0IA9JQSUrKjXZraiCSGbV5mYJaIAbp2hnYk0REuupG6ho4CfoEdArZ23AKOLvoehsa6CSk0pkcvkiqVypBYFwUOgurgCMgZpQAI4AI0o5kiXR60IA8hAABZwShCPCJNgQVDk8TzRaSaRyBRrLRIAQCLwhPYHI6GATbDw+FwnOx2fTcf5gfyHPj6Xj6RxikhC7wkZyCAGpdLILK5ArFMoVKHVWFYeGERxEcwAL34qIAVrpsRw8UolLJUERkkJpklOLSlgzVhoWZsfCLTLwLE9Rfo2r9DC5DLQY/o7I9EOLRQZ5S4oicBHx4mAkprgbqwQbIVVkDU4fVkPoqdxzA5qOInb1kPiiSSfQM4P76SsmcGNqrbFyrCEPKreELuOLU6cSOnaMnTsFeJ8fKYvNcNUDtSC9eDDdWYbUzchKFbzGxknhdDIO9CAJIsehLTgsCDeli+gcFgDYd1DAdYdG2CMowzbh2jZM4vlCU4F10bhV24Rw7FofQPn0RN3lnCIDy1MAdVBfUIUqaFa1NeswESGBdF0egjFRZIX0IAAFShEjGSgOD9OBzHgNRhmoRZB2WRlQPAxBaAwkgOig/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OEEutdW691vO6CULwBQ9AyCoF+v9WU03TOzce+FhzAhUeJa28lrHeWtvZfxoTYmpNaO8CgKrXgiQyTsDaUMzY4pKsM/h7F2X/GYu6BZ+9tnrXlZ4DVhrLWnXCA86JiTZ+anxS8UMA/bqv1LajIVwptMiPGcLZVytj7a3I7R1jvHHHyB9d86N7jMbLBqDYZIFp8r+c4f3cQLVpH9Wnfo7wMlvuA8h4j1197kgBMDf87UyNkKeBeD5+0POheO47sKfZXVwTcfVtPpvnfB+T8vd4wz7zw30K4CGEoGMVQJXuCQZp7T6rPGFcOcW1e1XGP8GEOwnyEhTefdt9o+YMg3AyCJHJFAQ7kv6Gl5t5Fkfjv4us8n+nzPvum9SJkUQORCjaP2l6g2mAlA7S/T0bv+3cu7tM+ry7p9C/s+/bkZeICA+J+IBLebJAkCqwh6qxkBb6JIih8wR704f6K6SYo5H4T4J6tb/5G6AGEANIkBNKGAtIS64yohKB2i8AohWhQBzqS4jIFx74I6V7WaNbH7YFra4FN77KHLHKnLQpQC0CJAMDcAMZF7b6wS3bMHy6oHPY/5q5rawrwqIrIqopc7kbcG0YQC0BQBwBkBWgsBQAv4hakqD5y4WYx5V6YHO6KFPrJB8qfSUCCqU5p5gBuqoAepeo+q0ZkBQCerIhQBWjcCuEMExCrrmGR5f6H7sFYHJZ443SIqE5uF1oNpNotrBY56qxKB4B2DP7IjQ7zpZLIE/rRGx42Hx7xFXSJF3T0H4GuruqerepnJL5WjIjiChAyCOAwCW7GIlE6AH6SYvYAC6QAAAA==

0

We can not reproduce the issue with the given script.
What's your IDE/JDK/OS exact version (Help | About)?)

0

Surprisingly I can not replicate this any more, maybe it's the upgrade to 9.0.1, I don't know.

Anyway thanks for the support, I will let yo know if anything changes.

Thanks

0

Please sign in to leave a comment.