Carbon: Carbon fails to load URL that is too long due to code query parameter length

Created on 23 Jul 2019  ·  4Comments  ·  Source: carbon-app/carbon

i wanna make code lines pretty on my website using iFrame,code sourece is blew
https://raw.githubusercontent.com/233boy/v2ray/master/install.sh
when i do it on Carbon,website crash down
maybe Chinese code comments in the bash cause it

bug

Most helpful comment

Problem recurrence video:
https://youtu.be/zOooeBsFQnY

each time i do plenty line codes the crash occurred
@mfix22

All 4 comments

Hi @LGTMXD when does the crash occur? When you embed that code in an IFrame, or when you save the image? Also which browser were you using when the crash occurred?

Problem recurrence video:
https://youtu.be/zOooeBsFQnY

each time i do plenty line codes the crash occurred
@mfix22

I see the error: it actually has nothing to do with any of the buttons, it is just the fact that the URL length surpassed the browsers limit. I will add some logic to limit the amount of code characters written to the URL, however we cannot overcome these underlying limits for sharing as a query param /:

thank u

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kievsash picture kievsash  ·  3Comments

farskid picture farskid  ·  4Comments

NSExceptional picture NSExceptional  ·  3Comments

jakedex picture jakedex  ·  5Comments

vmitchell85 picture vmitchell85  ·  3Comments