You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Er...@sanofipasteur.com on 2006/10/18 09:59:03 UTC

Issue with url with special character

Dear all,
When i create an entry wich title is "entrée avec un accent" (with an 'é'), and i try to see the full content of this entry,
the url is :
http://frmlegiw33.pasteur.aventis.com/roller/jbntests/entry/entr%C3%A9e_avec_un_accent
 
As you can see, there is an extra character encoded in the url, and i have a 404 error.
 
Any idea?
 
Thanks
 
Eric
-------------------------------------------------------------------------------------------
"Cette communication (y compris les pieces jointes) est reservee a l'usage exclusif du destinataire (des destinataires) et peut contenir des informations privilegiees, confidentielles, exemptees de divulgation selon la loi ou protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute utilisation, divulgation, distribution, reproduction, examen ou copie (totale ou partielle) est non-autorisee et peut etre illegale. Tout message electronique est susceptible d'alteration et son integrite ne peut etre assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of the addressee(s) and may contain confidential information including trade secrets which are privileged, confidential, exempt from disclosure under applicable law and/or subject to copyright. If you are not an intended recipient, any use, disclosure, distribution, reproduction, review or copying (either whole or partial) is unauthorized and may be unlawful. E-mails are susceptible to alteration and their integrity cannot be guaranteed.Sanofi Pasteur shall not be liable for this e-mail if modified or falsified. If you are not the intended recipient of this e-mail, please delete it immediately from your system and notify the sender of the wrong delivery and the mail deletion. Thank you."
**********************************************************************


Re: Issue with url with special character

Posted by Anil Gangolli <an...@busybuddha.org>.
You can try verifying Roller's behavior by going to the Tomcat port directly 
(from some point where you have such access).

--a.

----- Original Message ----- 
From: <Er...@sanofipasteur.com>
To: <ro...@incubator.apache.org>
Sent: Wednesday, October 18, 2006 8:56 AM
Subject: RE: Issue with url with special character


> Indeed, i use an Apache (my tomcat connector is ok).
> But i don't know where i'm supposed to set this parameter. I'll check in 
> Apache documentation.
> Thanks
>
> Eric
>
> -----Message d'origine-----
> De : Anil Gangolli [mailto:anil@busybuddha.org]
> Envoyé : mercredi 18 octobre 2006 17:47
> À : roller-dev@incubator.apache.org
> Objet : Re: Issue with url with special character
>
>
> This is the proper UTF-8 encoding of that string.  Is it only happening 
> when special characters are on the URL or does it happen with other 
> entries with spaces in the title?
>
> Check that you have got the URIEncoding="UTF-8" set on the Connector 
> config in the server.xml.
>
> If you are running it behind web server, e.g. Apache httpd, fronting 
> Tomcat, make sure it is expecting UTF-8 for URIs as well.
>
> --a.
>
> ----- Original Message -----
> From: <Er...@sanofipasteur.com>
> To: <ro...@incubator.apache.org>
> Sent: Wednesday, October 18, 2006 12:59 AM
> Subject: Issue with url with special character
>
>
> Dear all,
> When i create an entry wich title is "entrée avec un accent" (with an 
> 'é'),
> and i try to see the full content of this entry,
> the url is :
> http://frmlegiw33.pasteur.aventis.com/roller/jbntests/entry/entr%C3%A9e_avec_un_accent
>
> As you can see, there is an extra character encoded in the url, and i have 
> a
> 404 error.
>
> Any idea?
>
> Thanks
>
> Eric
> -------------------------------------------------------------------------------------------
> "Cette communication (y compris les pieces jointes) est reservee a l'usage
> exclusif du destinataire (des destinataires) et peut contenir des
> informations privilegiees, confidentielles, exemptees de divulgation selon
> la loi ou protegees par les droits d'auteur. Si vous n'etes pas un
> destinataire, toute utilisation, divulgation, distribution, reproduction,
> examen ou copie (totale ou partielle) est non-autorisee et peut etre
> illegale. Tout message electronique est susceptible d'alteration et son
> integrite ne peut etre assuree. Sanofi Pasteur decline toute 
> responsabilite
> au titre de ce message s'il a ete modifie ou falsifie. Si vous n'etes pas
> destinataire de ce message, merci de le detruire immediatement et 
> d'avertir
> l'expediteur de l'erreur de distribution et de la destruction du message.
> Merci.
> This transmission (including any attachments) is intended solely for the 
> use
> of the addressee(s) and may contain confidential information including 
> trade
> secrets which are privileged, confidential, exempt from disclosure under
> applicable law and/or subject to copyright. If you are not an intended
> recipient, any use, disclosure, distribution, reproduction, review or
> copying (either whole or partial) is unauthorized and may be unlawful.
> E-mails are susceptible to alteration and their integrity cannot be
> guaranteed.Sanofi Pasteur shall not be liable for this e-mail if modified 
> or
> falsified. If you are not the intended recipient of this e-mail, please
> delete it immediately from your system and notify the sender of the wrong
> delivery and the mail deletion. Thank you."
> **********************************************************************
>
>
> -------------------------------------------------------------------------------------------
> "Cette communication (y compris les pieces jointes) est reservee a l'usage 
> exclusif du destinataire (des destinataires) et peut contenir des 
> informations privilegiees, confidentielles, exemptees de divulgation selon 
> la loi ou protegees par les droits d'auteur. Si vous n'etes pas un 
> destinataire, toute utilisation, divulgation, distribution, reproduction, 
> examen ou copie (totale ou partielle) est non-autorisee et peut etre 
> illegale. Tout message electronique est susceptible d'alteration et son 
> integrite ne peut etre assuree. Sanofi Pasteur decline toute 
> responsabilite au titre de ce message s'il a ete modifie ou falsifie. Si 
> vous n'etes pas destinataire de ce message, merci de le detruire 
> immediatement et d'avertir l'expediteur de l'erreur de distribution et de 
> la destruction du message. Merci.
> This transmission (including any attachments) is intended solely for the 
> use of the addressee(s) and may contain confidential information including 
> trade secrets which are privileged, confidential, exempt from disclosure 
> under applicable law and/or subject to copyright. If you are not an 
> intended recipient, any use, disclosure, distribution, reproduction, 
> review or copying (either whole or partial) is unauthorized and may be 
> unlawful. E-mails are susceptible to alteration and their integrity cannot 
> be guaranteed.Sanofi Pasteur shall not be liable for this e-mail if 
> modified or falsified. If you are not the intended recipient of this 
> e-mail, please delete it immediately from your system and notify the 
> sender of the wrong delivery and the mail deletion. Thank you."
> **********************************************************************
>
> 


RE: Issue with url with special character

Posted by Er...@sanofipasteur.com.
Indeed, i use an Apache (my tomcat connector is ok).
But i don't know where i'm supposed to set this parameter. I'll check in Apache documentation.
Thanks

Eric 

-----Message d'origine-----
De : Anil Gangolli [mailto:anil@busybuddha.org] 
Envoyé : mercredi 18 octobre 2006 17:47
À : roller-dev@incubator.apache.org
Objet : Re: Issue with url with special character


This is the proper UTF-8 encoding of that string.  Is it only happening when special characters are on the URL or does it happen with other entries with spaces in the title?

Check that you have got the URIEncoding="UTF-8" set on the Connector config in the server.xml.

If you are running it behind web server, e.g. Apache httpd, fronting Tomcat, make sure it is expecting UTF-8 for URIs as well.

--a.

----- Original Message -----
From: <Er...@sanofipasteur.com>
To: <ro...@incubator.apache.org>
Sent: Wednesday, October 18, 2006 12:59 AM
Subject: Issue with url with special character


Dear all,
When i create an entry wich title is "entrée avec un accent" (with an 'é'), 
and i try to see the full content of this entry,
the url is :
http://frmlegiw33.pasteur.aventis.com/roller/jbntests/entry/entr%C3%A9e_avec_un_accent

As you can see, there is an extra character encoded in the url, and i have a 
404 error.

Any idea?

Thanks

Eric
-------------------------------------------------------------------------------------------
"Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des 
informations privilegiees, confidentielles, exemptees de divulgation selon 
la loi ou protegees par les droits d'auteur. Si vous n'etes pas un 
destinataire, toute utilisation, divulgation, distribution, reproduction, 
examen ou copie (totale ou partielle) est non-autorisee et peut etre 
illegale. Tout message electronique est susceptible d'alteration et son 
integrite ne peut etre assuree. Sanofi Pasteur decline toute responsabilite 
au titre de ce message s'il a ete modifie ou falsifie. Si vous n'etes pas 
destinataire de ce message, merci de le detruire immediatement et d'avertir 
l'expediteur de l'erreur de distribution et de la destruction du message. 
Merci.
This transmission (including any attachments) is intended solely for the use 
of the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or 
copying (either whole or partial) is unauthorized and may be unlawful. 
E-mails are susceptible to alteration and their integrity cannot be 
guaranteed.Sanofi Pasteur shall not be liable for this e-mail if modified or 
falsified. If you are not the intended recipient of this e-mail, please 
delete it immediately from your system and notify the sender of the wrong 
delivery and the mail deletion. Thank you."
**********************************************************************


-------------------------------------------------------------------------------------------
"Cette communication (y compris les pieces jointes) est reservee a l'usage exclusif du destinataire (des destinataires) et peut contenir des informations privilegiees, confidentielles, exemptees de divulgation selon la loi ou protegees par les droits d'auteur. Si vous n'etes pas un destinataire, toute utilisation, divulgation, distribution, reproduction, examen ou copie (totale ou partielle) est non-autorisee et peut etre illegale. Tout message electronique est susceptible d'alteration et son integrite ne peut etre assuree. Sanofi Pasteur decline toute responsabilite au titre de ce message s'il a ete modifie ou falsifie. Si vous n'etes pas destinataire de ce message, merci de le detruire immediatement et d'avertir l'expediteur de l'erreur de distribution et de la destruction du message. Merci.
This transmission (including any attachments) is intended solely for the use of the addressee(s) and may contain confidential information including trade secrets which are privileged, confidential, exempt from disclosure under applicable law and/or subject to copyright. If you are not an intended recipient, any use, disclosure, distribution, reproduction, review or copying (either whole or partial) is unauthorized and may be unlawful. E-mails are susceptible to alteration and their integrity cannot be guaranteed.Sanofi Pasteur shall not be liable for this e-mail if modified or falsified. If you are not the intended recipient of this e-mail, please delete it immediately from your system and notify the sender of the wrong delivery and the mail deletion. Thank you."
**********************************************************************


Re: Issue with url with special character

Posted by Anil Gangolli <an...@busybuddha.org>.
This is the proper UTF-8 encoding of that string.  Is it only happening when 
special characters are on the URL or does it happen with other entries with 
spaces in the title?

Check that you have got the URIEncoding="UTF-8" set on the Connector config 
in the server.xml.

If you are running it behind web server, e.g. Apache httpd, fronting Tomcat, 
make sure it is expecting UTF-8 for URIs as well.

--a.

----- Original Message ----- 
From: <Er...@sanofipasteur.com>
To: <ro...@incubator.apache.org>
Sent: Wednesday, October 18, 2006 12:59 AM
Subject: Issue with url with special character


Dear all,
When i create an entry wich title is "entrée avec un accent" (with an 'é'), 
and i try to see the full content of this entry,
the url is :
http://frmlegiw33.pasteur.aventis.com/roller/jbntests/entry/entr%C3%A9e_avec_un_accent

As you can see, there is an extra character encoded in the url, and i have a 
404 error.

Any idea?

Thanks

Eric
-------------------------------------------------------------------------------------------
"Cette communication (y compris les pieces jointes) est reservee a l'usage 
exclusif du destinataire (des destinataires) et peut contenir des 
informations privilegiees, confidentielles, exemptees de divulgation selon 
la loi ou protegees par les droits d'auteur. Si vous n'etes pas un 
destinataire, toute utilisation, divulgation, distribution, reproduction, 
examen ou copie (totale ou partielle) est non-autorisee et peut etre 
illegale. Tout message electronique est susceptible d'alteration et son 
integrite ne peut etre assuree. Sanofi Pasteur decline toute responsabilite 
au titre de ce message s'il a ete modifie ou falsifie. Si vous n'etes pas 
destinataire de ce message, merci de le detruire immediatement et d'avertir 
l'expediteur de l'erreur de distribution et de la destruction du message. 
Merci.
This transmission (including any attachments) is intended solely for the use 
of the addressee(s) and may contain confidential information including trade 
secrets which are privileged, confidential, exempt from disclosure under 
applicable law and/or subject to copyright. If you are not an intended 
recipient, any use, disclosure, distribution, reproduction, review or 
copying (either whole or partial) is unauthorized and may be unlawful. 
E-mails are susceptible to alteration and their integrity cannot be 
guaranteed.Sanofi Pasteur shall not be liable for this e-mail if modified or 
falsified. If you are not the intended recipient of this e-mail, please 
delete it immediately from your system and notify the sender of the wrong 
delivery and the mail deletion. Thank you."
**********************************************************************