LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-25-2003, 05:44 PM   #1
Sm0k3
Member
 
Registered: Sep 2003
Location: Chicago
Distribution: Slackware 13 x86_64
Posts: 58

Rep: Reputation: 15
browser does not convert query_string/url spaces to '+', seeking workaround?


hello everybody,

i've been writing a CGI for the past few months, and have run into a problem.. one of the services i'm developing, i've encountered a problem.. this service is simular to an AIM 'subprofile'... the problem is the browser (AIM's profile window), has a variable named '%n' which is replaced with the person's user name when they click the link.. unfortunatly, in AIM, screennames are allowed to have spaces, and %n does not convert the spaces to a '+' or a %20... therefor the web server panics and drops the query with an error... i was wondering if there was a way to intercept the url string and put the +'s where they belong.. or take the spaces out all together. BTW, i'm writing this in C.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP: Browser timeout workaround?? jpbarto Programming 2 08-05-2005 10:30 AM
Clicking an URL to evoke a browser satimis Linux - General 2 03-12-2005 05:53 AM
Browser, URL, new window question itsjustme General 4 08-29-2004 08:28 AM
emacs - convert auto indent tabs to spaces? BrianK Linux - General 1 04-15-2004 10:14 PM
Windows User/Linux ubernewb seeking to convert B4UTRUST Linux - Distributions 12 01-23-2004 01:30 AM


All times are GMT -5. The time now is 06:26 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration