?
Solved

AIM Profile Spaces

Posted on 2003-03-01
5
Medium Priority
?
257 Views
Last Modified: 2010-03-04
I'm trying to make a server that'll host for AIM profiles. I'm running an Apache server and there's a little problem with it.

When it encounters a screen name with a space in it - it flukes and messes up. It calls it a bad request, because simply put - it is one.

I was wondering if there was a work around.

If you still don't get what I mean...

The link would like: <a href="http://server/profile?name=blippidy bop">link</a> and when requesting it would send that. It won't replace the space with "%20"

So the raw request would look like:
GET /profile?blippidy bop HTTP/1.0
instead of
GET /profile?blippidy%20bop HTTP/1.0

Sooo... ... ... Is there settings I can change? Something I can do to make it read it right?
0
Comment
Question by:ithic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 8

Expert Comment

by:heskyttberg
ID: 8050036
Hi!

No there si nothing you can do about this on the server side.

Cause the server is only supposed to return what the client is asking for.

That conversion needs to be done on client side.

I did a little test on my apache.
I created a dir called "test 1"

Surfed to is with explorer and netscape both browsers exchanged the space for %20.

You either need to change the link, so it includes %20 to begin with or use a client the makes the conversion.

Regards
/Hans - Erik Skyttberg
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 8053306
the GET command cannot contain white spaces in the URL, they must be URL-encoded by the sender (browser),
see RFC 2616 and 2396 for example at http://www.faqs.org/rfcs/
Server and client are resonsibel for en-/decoding according RFCs.
0
 

Author Comment

by:ithic
ID: 8061535
heskyttberg - that doesn't work because AIM Profiles won't allow you to change the spaces to %20 -- it's a very primitive program. Believe me - I would've done that if I could.

ahoffmann - I realize this. But AIM profiles breaks the rules and I was simply wondering if you could tweak Apache settings to accept this and give a possible work around.

So I took to messing with Apache settings and did various changes to that and some stuff happened. I can't tell you exactly what I did because I'm not sure what I did. But it'll pass the thing over to a file and into PHP where I can manage the space problem.

The question of how on god's green earth I did this - I don't know.

Thanks for the effort but none of what you two said really helped or added to what I already knew. Regardless, the problem's solved.
0
 

Expert Comment

by:DigitalXtreme
ID: 8061796
ithic has requested that this question be closed and points refunded. If no objections to this action in 72 hours I will perform this action.

Thank You

DigitalXtreme
CS Moderator
0
 
LVL 6

Accepted Solution

by:
Mindphaser earned 0 total points
ID: 8153738
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month13 days, 21 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question