malformed URL - Java

This is a discussion on malformed URL - Java ; My apologies for posting this here. I don't know where else I can post this. The problem is as follows: We have a Java application that sends out email with a URL : a) inside <a href> HTML tags b) ...

+ Reply to Thread
Results 1 to 5 of 5

malformed URL

  1. Default malformed URL

    My apologies for posting this here. I don't know where else I can post
    this.

    The problem is as follows:

    We have a Java application that sends out email with a URL :
    a) inside <a href> HTML tags
    b) as plain text

    When the email is sent to yahoo or gmail, a period (dot) in the case
    of <a href> is missing. We are expecting the end user to click on the
    link and view the resulting page. This was not happening because of
    the missing period. The alternative is to cut-paste the URL which
    always works. BTW, the URL is generated from the same String variable
    in the Java code. Something is happening during transport and
    rendering on the browser.

    I'd appreciate any help you can offer.

    Thanks

  2. Default Re: malformed URL

    On Jun 12, 2:43 pm, "soup_or_po...@yahoo.com"
    <soup_or_po...@yahoo.com> wrote:
    > My apologies for posting this here. I don't know where else I can post
    > this.
    >
    > The problem is as follows:
    >
    > We have a Java application that sends out email with a URL :
    > a) inside <a href> HTML tags
    > b) as plain text
    >
    > When the email is sent to yahoo or gmail, a period (dot) in the case
    > of <a href> is missing. We are expecting the end user to click on the
    > link and view the resulting page. This was not happening because of
    > the missing period. The alternative is to cut-paste the URL which
    > always works. BTW, the URL is generated from the same String variable
    > in the Java code. Something is happening during transport and
    > rendering on the browser.
    >
    > I'd appreciate any help you can offer.
    >
    > Thanks


    Here is an example of the URL:

    https://testdomain.com/content/home/...04278695028E-1

    The URL inside HTML tags <a href=...></a> has a missing period as
    this:

    https://testdomain.com/content/home/...04278695028E-1

  3. Default Re: malformed URL

    On Thu, 12 Jun 2008 12:26:39 -0700 (PDT), "soup_or_power@yahoo.com"
    <soup_or_power@yahoo.com> wrote:

    >On Jun 12, 2:43 pm, "soup_or_po...@yahoo.com"
    ><soup_or_po...@yahoo.com> wrote:
    >> My apologies for posting this here. I don't know where else I can post
    >> this.
    >>
    >> The problem is as follows:
    >>
    >> We have a Java application that sends out email with a URL :
    >> a) inside <a href> HTML tags
    >> b) as plain text
    >>
    >> When the email is sent to yahoo or gmail, a period (dot) in the case
    >> of <a href> is missing. We are expecting the end user to click on the
    >> link and view the resulting page. This was not happening because of
    >> the missing period. The alternative is to cut-paste the URL which
    >> always works. BTW, the URL is generated from the same String variable
    >> in the Java code. Something is happening during transport and
    >> rendering on the browser.
    >>
    >> I'd appreciate any help you can offer.
    >>
    >> Thanks

    >
    >Here is an example of the URL:
    >
    > https://testdomain.com/content/home/...04278695028E-1
    >
    >The URL inside HTML tags <a href=...></a> has a missing period as
    >this:
    >
    > https://testdomain.com/content/home/...04278695028E-1


    If the problem is somewhere in your code then we cannot see it because
    you have not posted any code.


    Some diagnostic questions:

    - does the missing period always happen at the same position?
    - is the missing character always a period, or do other characters
    disappear?
    - does the same problem happen with hotmail or with your ISP's own
    e-mail?
    - does the <a> tag have the href parameter in quotes: <a href="...">?


    Some ideas to try:

    - put the href parameter in quotes if it isn't already.
    - put the regcode parameter in quotes.
    - replace one or more of the periods with '-' or some other neutral
    separator.
    - try to reduce the length of the URL.
    - try using two parameters: regcode1 and regcode2, concatenating them
    in code.
    - put Javascript into the page to build the tags and URL at the
    browser from as many fragments as needed.

    rossum


  4. Default Re: malformed URL

    On Jun 12, 7:27 pm, rossum <rossu...@coldmail.com> wrote:
    > On Thu, 12 Jun 2008 12:26:39 -0700 (PDT), "soup_or_po...@yahoo.com"
    >
    >
    >
    >
    >
    > <soup_or_po...@yahoo.com> wrote:
    > >On Jun 12, 2:43 pm, "soup_or_po...@yahoo.com"
    > ><soup_or_po...@yahoo.com> wrote:
    > >> My apologies for posting this here. I don't know where else I can post
    > >> this.

    >
    > >> The problem is as follows:

    >
    > >> We have a Java application that sends out email with a URL :
    > >> a) inside <a href> HTML tags
    > >> b) as plain text

    >
    > >> When the email is sent to yahoo or gmail, a period (dot) in the case
    > >> of <a href> is missing. We are expecting the end user to click on the
    > >> link and view the resulting page. This was not happening because of
    > >> the missing period. The alternative is to cut-paste the URL which
    > >> always works. BTW, the URL is generated from the same String variable
    > >> in the Java code. Something is happening during transport and
    > >> rendering on the browser.

    >
    > >> I'd appreciate any help you can offer.

    >
    > >> Thanks

    >
    > >Here is an example of the URL:

    >
    > >https://testdomain.com/content/home/...s.jsf?regcode=....

    >
    > >The URL inside HTML tags <a href=...></a> has a missing period as
    > >this:

    >
    > >https://testdomain.com/content/home/...s.jsf?regcode=....

    >
    > If the problem is somewhere in your code then we cannot see it because
    > you have not posted any code.
    >
    > Some diagnostic questions:
    >
    >  - does the missing period always happen at the same position?
    >  - is the missing character always a period, or do other characters
    > disappear?
    >  - does the same problem happen with hotmail or with your ISP's own
    > e-mail?
    >  - does the <a> tag have the href parameter in quotes: <a href="...">?
    >
    > Some ideas to try:
    >
    >  - put the href parameter in quotes if it isn't already.
    >  - put the regcode parameter in quotes.
    >  - replace one or more of the periods with '-' or some other neutral
    > separator.
    >  - try to reduce the length of the URL.
    >  - try using two parameters: regcode1 and regcode2, concatenating them
    > in code.
    >  - put Javascript into the page to build the tags and URL at the
    > browser from as many fragments as needed.
    >
    > rossum- Hide quoted text -
    >
    > - Show quoted text -


    The problem was fixed after adding double quotes around the URL. Thank
    you, sir.

  5. Default Re: malformed URL

    On Jun 13, 9:02 am, "soup_or_po...@yahoo.com"
    <soup_or_po...@yahoo.com> wrote:
    > On Jun 12, 7:27 pm, rossum <rossu...@coldmail.com> wrote:
    >
    >
    >
    >
    >
    > > On Thu, 12 Jun 2008 12:26:39 -0700 (PDT), "soup_or_po...@yahoo.com"

    >
    > > <soup_or_po...@yahoo.com> wrote:
    > > >On Jun 12, 2:43 pm, "soup_or_po...@yahoo.com"
    > > ><soup_or_po...@yahoo.com> wrote:
    > > >> My apologies for posting this here. I don't know where else I can post
    > > >> this.

    >
    > > >> The problem is as follows:

    >
    > > >> We have a Java application that sends out email with a URL :
    > > >> a) inside <a href> HTML tags
    > > >> b) as plain text

    >
    > > >> When the email is sent to yahoo or gmail, a period (dot) in the case
    > > >> of <a href> is missing. We are expecting the end user to click on the
    > > >> link and view the resulting page. This was not happening because of
    > > >> the missing period. The alternative is to cut-paste the URL which
    > > >> always works. BTW, the URL is generated from the same String variable
    > > >> in the Java code. Something is happening during transport and
    > > >> rendering on the browser.

    >
    > > >> I'd appreciate any help you can offer.

    >
    > > >> Thanks

    >
    > > >Here is an example of the URL:

    >
    > > >https://testdomain.com/content/home/...s.jsf?regcode=....

    >
    > > >The URL inside HTML tags <a href=...></a> has a missing period as
    > > >this:

    >
    > > >https://testdomain.com/content/home/...s.jsf?regcode=....

    >
    > > If the problem is somewhere in your code then we cannot see it because
    > > you have not posted any code.

    >
    > > Some diagnostic questions:

    >
    > >  - does the missing period always happen at the same position?
    > >  - is the missing character always a period, or do other characters
    > > disappear?
    > >  - does the same problem happen with hotmail or with your ISP's own
    > > e-mail?
    > >  - does the <a> tag have the href parameter in quotes: <a href="...">?

    >
    > > Some ideas to try:

    >
    > >  - put the href parameter in quotes if it isn't already.
    > >  - put the regcode parameter in quotes.
    > >  - replace one or more of the periods with '-' or some other neutral
    > > separator.
    > >  - try to reduce the length of the URL.
    > >  - try using two parameters: regcode1 and regcode2, concatenating them
    > > in code.
    > >  - put Javascript into the page to build the tags and URL at the
    > > browser from as many fragments as needed.

    >
    > > rossum- Hide quoted text -

    >
    > > - Show quoted text -

    >
    > The problem was fixed after adding double quotes around the URL. Thank
    > you, sir.- Hide quoted text -
    >
    > - Show quoted text -


    Just curious: why did gmail and yahoo drop the period character?
    Is it in mail transport or something to do with their browser?

    Thanks

+ Reply to Thread