🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #2981

Re: largo enviado por get php

#2981
From: Jos� Miguel Santib��ez
Date: Sat, 02 Jul 2005 02:50
53 lines
2782 bytes
En el cap�tulo anterior (news:da4jgr$ojh$1@news1.nivel5.cl), "Rick_oj"
<rick_oj@[sin-esto]tutopia.com> dijo: 

> En las news:da4hnm$o35$1@news1.nivel5.cl, a Rick_oj se le ocurrio
> tipear: 
>> tengo una pagina en donde se le envia por url un string bastante
>> largo, de otra pagina donde comprueba algunas sintaxis del servidor
>> el problema es 
> que
>> me corta el string en el caracter 77, hay alguna manera de hacer que
> acepte
>> mas caracteres con el metodo get?
>>
>> o definitivamente tendre que acortar el string de algun modo
> 
> logre acortarlo a 68 caracteres pero me sigue cortando el string que
> tengo es es asi
> htttp://pagina.no-ip.com/dir/confirma.php?email=email@servidor.red&cod=
> 12345 67890
> 
> me corta antes de &cod
> 
> 
> 

En mi opini�n, te est� webeando el "@"... Tanto el urlencode como el 
rawurlencode lo cambian por %40...

La direcci�n que est�s enviando dice:
con�ctese a: "servidor.red"
con el usuario : "pagina.no-ip.com/dir/confirma.php?email=email"
y el cod est� puro "webeando"...


Tomado de RFC 2616:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2

The HTTP protocol does not place any a priori limit on the length of a URI. 
Servers MUST be able to handle the URI of any resource they serve, and 
SHOULD be able to handle URIs of unbounded length if they provide GET-based 
forms that could generate such URIs. A server SHOULD return 414 (Request-
URI Too Long) status if a URI is longer than the server can handle (see 
section 10.4.15).

      Note: Servers ought to be cautious about depending on URI lengths
      above 255 bytes, because some older client or proxy
      implementations might not properly support these lengths.


-- 
                           Jose M. Santiba�ez A.
                             <jms@nivel5.cl>
                           <http://caos.cl/jms>
Technical Details
Message-ID: <Xns9686E85A1A57Bjmsnews@200.27.221.71>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.kjsl.com!news1.nivel5.cl!news.vcd.cl!not-for-mail
References: <da4hnm$o35$1@news1.nivel5.cl> <da4jgr$ojh$1@news1.nivel5.cl>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,8ecd75197d98cb4f
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Newsgroups: chile.comp.programacion
Subject: Re: largo enviado por get php
From: "Jos� Miguel Santib��ez" <jms@nospam.nivel5.cl>
References: <da4hnm$o35$1@news1.nivel5.cl> <da4jgr$ojh$1@news1.nivel5.cl>
Organization: Caos Consultores
Message-ID: <Xns9686E85A1A57Bjmsnews@200.27.221.71>
User-Agent: Xnews/5.04.25
X-Face: +|NgjgFM{<rs%\Q|vUu16]a6,}?MJTA<!PEEI+x&Gw-Gyq+?$}fvo+.(,-r;)~Qzn)#{{nxU,OT?w^s<7m4ckCJ*L$c#I)yHL7b)GdU*#l
NNTP-Posting-Host: 201.246.207.175
Date: 1 Jul 2005 22:50:23 -0400
X-Trace: news.vcd.cl!not-for-mail 1120269023 201.246.207.175 (1 Jul 2005 22:50:23 -0400)
Lines: 53
X-Authenticated-User: jms
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.kjsl.com!news1.nivel5.cl!news.vcd.cl!not-for-mail