You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org> on 2013/05/07 05:59:16 UTC

[jira] [Commented] (INFRA-6214) Shortened URLs to mailing lists respond with "Bad Request"

    [ https://issues.apache.org/jira/browse/INFRA-6214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650488#comment-13650488 ] 

#asfinfra IRC Bot commented on INFRA-6214:
------------------------------------------

<danielsh> Uli can you take a look?  If not just unassign.

                
> Shortened URLs to mailing lists respond with "Bad Request"
> ----------------------------------------------------------
>
>                 Key: INFRA-6214
>                 URL: https://issues.apache.org/jira/browse/INFRA-6214
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Mail Archives
>         Environment: s.apache.org, mail-search.apache.org
>            Reporter: Sean Kelly
>            Assignee: Ulrich Stärk
>
> Shortening URLs to private email lists with http://s.apache.org/ results in shortened URLs that, when followed, give an HTTP 400 "Bad Request" response.
> For example, I wanted to shorten the URL to this email message:
> {noformat}
> https://mail-search.apache.org/pmc/private-arch/oodt-private/201304.mbox/%3CCD7EE751.C4979%25chris.a.mattmann@jpl.nasa.gov%3E
> {noformat}
> The s.apache.org service responds that the shortened URL is:
> {noformat}
> http://s.apache.org/YVP
> {noformat}
> Opening that URL responds with the following headers:
> {noformat}
> HTTP/1.1 301 Moved Permanently
> Date: Tue, 30 Apr 2013 14:55:15 GMT
> Server: Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0g DAV/2
> Location: https://mail-search.apache.org/pmc/private-arch/oodt-private/201304.mbox/%3CCD7EE751.C4979%chris.a.mattmann@jpl.nasa.gov%3E
> Content-Length: 0
> Content-Type: text/plain
> {noformat}
> Notice that the "Location:" header is slightly different from the URL originally presented to the shortening service.
> Safari 6.0.4 (8536.29.13), Chrome 26.0.1410.65, Firefox 20.0, and curl 7.21.3 all exhibit the same behavior.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira