Carbon-API icon indicating copy to clipboard operation
Carbon-API copied to clipboard

in # char "%23"

Open raifpy opened this issue 4 years ago • 4 comments

return Default Carbon Page .. image

raifpy avatar Jun 30 '20 12:06 raifpy

Also \n "%0A" not working ..

raifpy avatar Jun 30 '20 13:06 raifpy

It seems I have to encode the URL before hitting a request to the Carbon. Thanks for reporting. I'll try to fix it

cyberboysumanjay avatar Jun 30 '20 14:06 cyberboysumanjay

@cyberboysumanjay is this still actively maintained? I am facing the same issue with newlines/carriage returns.

sesamechicken avatar Nov 25 '20 15:11 sesamechicken

Passing the code through any url-safe function will do the job:

import urllib.parse
urllib.parse.quote_plus(code)

snehsagarajput avatar Dec 29 '20 13:12 snehsagarajput