incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xuefeng Wu <ben...@gmail.com>
Subject Re: ESME-26 The message parser should ignore # in urls
Date Thu, 15 Oct 2009 07:56:16 GMT
I did little more test,I input this message:
http://www.google.com/search?&q=设计<http://www.google.com/search?&q=%E8%AE%BE%E8%AE%A1>
parse manager didn't think '设计' is a part of URL.


On Thu, Oct 15, 2009 at 1:49 PM, Richard Hirsch <hirsch.dick@gmail.com>wrote:

> Obviously, we need to look at the message parsing in more detail.
> There appear to be a variety of problems.
>
> @Xuefeng I'm glad you are on the team and can test using Chinese
> characters.
>
> On Thu, Oct 15, 2009 at 6:41 AM, Xuefeng Wu <benewu@gmail.com> wrote:
> > The big trouble is that it related with encode.
> > When I paste: http://www.google.com/search?&q=设计<http://www.google.com/search?&q=%E8%AE%BE%E8%AE%A1>
> <http://www.google.com/search?&q=%E8%AE%BE%E8%AE%A1>
> > in
> > the message box,
> > I got: http://www.google.com/search?&q=%E8%AE%BE%E8%AE%A1
> > After update this message,ESME show:
> > http://www.google.com/search?&q=è<http://www.google.com/search?&q=%C3%A8>
> ®¾è®¡<http://localhost:8080/u/CRHNGPZKN5C12WPN>
> >
> > As you see, It's totally confused.
> >
> > <http://www.google.com/search?&q=%E8%AE%BE%E8%AE%A1>"设计"  is Chinese
> > Character, which means design, please ignore the meaning.
> >
> > P.S. Gmail can not parse
> > http://www.google.com/search?&q=%E8%AE%BE%E8%AE%A1into URL.
> >
> > On Wed, Oct 14, 2009 at 5:21 PM, Xuefeng Wu <benewu@gmail.com> wrote:
> >
> >> Scala try to parse it.
> >>
> >>
> >> On Wed, Oct 14, 2009 at 5:18 PM, Xuefeng Wu <benewu@gmail.com> wrote:
> >>
> >>> Have big trouble for '%'.% is very special in scala.
> >>> %55 is anther character.
> >>>
> >>>
> >>> On Wed, Oct 14, 2009 at 5:03 PM, Richard Hirsch <hirsch.dick@gmail.com
> >wrote:
> >>>
> >>>> Yes but the "%" is a special character that is present in more places
> >>>> in the scala file.
> >>>>
> >>>> On Wed, Oct 14, 2009 at 10:56 AM, Xuefeng Wu <benewu@gmail.com>
> wrote:
> >>>> > Maybe It don't support %
> >>>> >
> >>>> > On Wed, Oct 14, 2009 at 4:54 PM, Richard Hirsch <
> hirsch.dick@gmail.com
> >>>> >wrote:
> >>>> >
> >>>> >> I tried some urls and they work but others still have problems.
> >>>> >>
> >>>> >> For example, this URL still causes problems:
> >>>> >>
> >>>> >>
> >>>> >>
> >>>>
> https://issues.apache.org/jira/browse/ESME-26?focusedCommentId=12764422&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12764422
> >>>> >>
> >>>> >> This URL is OK:
> >>>> >>
> >>>> >> https://issues.apache.org:443/jira/browse/ESME-26#Action_12765458
> >>>> >>
> >>>> >> D.
> >>>> >>
> >>>> >> On Wed, Oct 14, 2009 at 10:40 AM, Xuefeng Wu <benewu@gmail.com>
> >>>> wrote:
> >>>> >> > Thank you
> >>>> >> >
> >>>> >> > On Wed, Oct 14, 2009 at 4:36 PM, Richard Hirsch <
> >>>> hirsch.dick@gmail.com
> >>>> >> >wrote:
> >>>> >> >
> >>>> >> >> Just the code itself at this point - sorry.
> >>>> >> >>
> >>>> >> >> I'm trying out your patch right now.
> >>>> >> >>
> >>>> >> >> D.
> >>>> >> >>
> >>>> >> >> On Wed, Oct 14, 2009 at 10:28 AM, Xuefeng Wu <benewu@gmail.com>
> >>>> wrote:
> >>>> >> >> > Hi,
> >>>> >> >> > I think I found how resolve this issue and add
a patch.
> >>>> >> >> >
> >>>> >> >> > https://issues.apache.org/jira/browse/ESME-26
> >>>> >> >> >
> >>>> >> >> > <https://issues.apache.org/jira/browse/ESME-26>But
I'm not
> >>>> confirm
> >>>> >> about
> >>>> >> >> it
> >>>> >> >> > how it work, I can not understand parser combinator?
> >>>> >> >> > Are there any  resource for learn?
> >>>> >> >> >
> >>>> >> >> > --
> >>>> >> >> > Global R&D Center,Shanghai China,Carestream
Health, Inc.
> >>>> >> >> > Tel:(86-21)3852 6101
> >>>> >> >> >
> >>>> >> >>
> >>>> >> >
> >>>> >> >
> >>>> >> >
> >>>> >> > --
> >>>> >> > Global R&D Center,Shanghai China,Carestream Health,
Inc.
> >>>> >> > Tel:(86-21)3852 6101
> >>>> >> >
> >>>> >>
> >>>> >
> >>>> >
> >>>> >
> >>>> > --
> >>>> > Global R&D Center,Shanghai China,Carestream Health, Inc.
> >>>> > Tel:(86-21)3852 6101
> >>>> >
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Global R&D Center,Shanghai China,Carestream Health, Inc.
> >>> Tel:(86-21)3852 6101
> >>>
> >>
> >>
> >>
> >> --
> >> Global R&D Center,Shanghai China,Carestream Health, Inc.
> >> Tel:(86-21)3852 6101
> >>
> >
> >
> >
> > --
> > Global R&D Center,Shanghai China,Carestream Health, Inc.
> > Tel:(86-21)3852 6101
> >
>



-- 
Global R&D Center,Shanghai China,Carestream Health, Inc.
Tel:(86-21)3852 6101

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message