I have an application which I've developed for a friend. It sends a POST request to the VB forum software and logs someone in (with out setting cookies or anything).
Once the user is logged in I create a variable that creates a path on their local machine.
The problem is that some usernames are throwing "Illegal chars" exception. For example if my username was
mas|fenix it would throw an exception..
Path.Combine( _ Environment.GetFolderPath(System.Environment.SpecialFolder.CommonApplicationData), _ DateTime.Now.ToString("ddMMyyhhmm") + "-" + form1.username)
I don't want to remove it from the string, but a folder with their username is created through FTP on a server. And this leads to my second question. If I am creating a folder on the server can I leave the "illegal chars" in? I only ask this because the server is Linux based, and I am not sure if Linux accepts it or not..
EDIT: It seems that URL encode is NOT what I want.. Here's what I want to do:
old username = mas|fenixnew username = mas%xxfenix
Where %xx is the ASCII value or any other value that would easily identify the character.
I have a case like i need to add a string in between a url.
I have a url like
xyz.com/broadcast-images/233.jpg and i want to rewrite the url as
How can i do it purely in the reactjs based code?
I am trying to invoke a REST API for which i have to pass on body parameters as well.The content-type to be passed is
Two suggestions i got from my colleagues is either by sending as a query string in outputlocalenvironment or via BLOB in output root. I have been unable to do by either one. Anyone can tell how can i send out the body parameters properly
Does anyone know of any good C++ code that does this?
when I try to share this link on LinkedIn http://www.happiestminds.com/Insights/chatbots/
Why LinkedIn fetching Wrong title, wrong link and wrong image when shared something.