httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Pinkerton" <pcpinker...@gmail.com>
Subject Re: [users@httpd] Convert "#" to Ascii "%23"
Date Wed, 30 Apr 2008 13:40:25 GMT
I am not sure where the problem is I tried both IE and Firefox with
the same results.

Perhaps it is in the cgi or perl script ?  see REQUEST_URI below has
dropped the path from
the "#" forward.

I cannot show details but the sequence goes like this ( page displayed
with # in the URL)
 Snip ...

HTTP_HOST - Server
HTTP_REFERER - http://server.net/cgi-bin/application/app_1.pl?en=PROJECT_Name
HTTP_USER_AGENT - Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648;
.NET CLR 3.5.21022)
LD_LIBRARY_PATH - /vol/gcc/3.4/lib
ORACLE_HOME - /vol/oracle9.2.0.6
PATH - /usr/bin:/bin:/usr/sbin:/sbin:/usr/sbin:/usr/bin:/opt/VRTS/bin:/etc/lvm:/usr/lib/lvm
PYTHONPATH - /svn01p/svn/src/viewvc-1.0.3/lib
QUERY_STRING - en=PROJECT_Name&pkn=20080526+-+Defect+
REMOTE_ADDR - xx.xxx.xxx.xxx
REMOTE_PORT - xxxx
REQUEST_METHOD - GET
REQUEST_URI - /cgi-bin/application/app_1.pl?en=AOA_Property&pkn=20080526+-+Defect+
SCRIPT_FILENAME - /server.net/cgi-bin/application/app_1.pl
SCRIPT_NAME - /cgi-bin/application/app_1.pl



On Wed, Apr 30, 2008 at 9:25 AM, Emmanuel E <emmanuel.e@gmx.net> wrote:
> Would it by any chance be a browser problem?. Since a # is a reference to a
> part of the page, a browser should not send stuff after the # to the server.
> But I have no idea how a # in a query string should be handled. Are you sure
> that it is the server which is dropping stuff after the # and not the
> browser itself?
>
>
>  Phil Pinkerton wrote:
>
> > Need to convert "#" to "%23" when a # is in the URL path.
> >
> > Example>
> http://server.net/cgi-bin/application/app_1.pl?en=PROJECT_Name&pkn=20080526+-+Defect+#123456
> >
> > This example shows in the http URL address just fine but beacuse of
> > the "#" is the first character in the defect sub-folder name the
> > actual page is not found because everything at the "#" is dropped.
> >
> > How can I configure Apache to change the "#" in a path to its ascii
> > equivalent ( %23 ) ?
> >
> > If I manually change it in the URL address line the page is displayed
> > just fine showing the folder content.
> >
> >  Example2>
> http://server.net/cgi-bin/application/app_1.pl?en=PROJECT_Name&pkn=20080526+-+Defect+%23123456
> >
> > please advise
> >
> > Phil
> >
> >
> >
> >
>
>  ---------------------------------------------------------------------
>  The official User-To-User support forum of the Apache HTTP Server Project.
>  See <URL:http://httpd.apache.org/userslist.html> for more info.
>  To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>  For additional commands, e-mail: users-help@httpd.apache.org
>
>



-- 
" The fundamental principle here is that the justification for a
physical concept lies exclusively in its clear an unambiguous relation
to the facts it can be experienced" AE

Please Feed and Educate the Children... it's the least any of us can do.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message