contribute rewriting special characters in links

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default contribute rewriting special characters in links

    Hi all - We have some complicated links we need to create (example is something
    like:
    [url]http://www.myhost.com/cgi-bin/something.cgi?url=http://www.someotherpage.com/[/url])

    Contribute is rewriting the special characters in the url (namely the ":" to
    the ascii codes). The result is a broken link.

    Is there any way to stop contribute from doing this?!?

    Thanks in advance!

    mgm36 Guest

  2. Similar Questions and Discussions

    1. Contribute rewriting paths, adding lots of ../
      A couple of my users seem to have found a new bug. For no apparent reason, when adding a link to a document on the page, instead of adding the...
    2. Contribute rewriting image links
      Many pages on my site have includes on them. When editing one of these includes, I need to insert images. The path to the image needs to be valid...
    3. Links with Special Characters
      Using Contribute 3 on an intranet. When trying to link to a file with special characters, such as (), we get the message "The file name you entered...
    4. Help! Contribute is rewriting Lasso code.
      Hi, I'm finishing development of a large site that was designed in Dreamweaver using nested templates and has several pages with Lasso code that...
    5. Contribute rewriting CFINCLUDE content, stripping outCFML
      We are having a very serious issue with CFINCLUDES that so far (despite some assistance from Macromedia support staff) we have not been able to...
  3. #2

    Default Re: contribute rewriting special characters in links

    Yes.

    In you inert link dialogue box you should have an advanced button, paste your URL into this box and it should remain unencoded.

    LDudd

    LDudd Guest

  4. #3

    Default Re: contribute rewriting special characters in links

    Even if I paste my link into the "href" portion of the advanced tab, it will
    show up correct in that field but then the actual link has the ":" converted to
    a "%3A". Even if I reopen the link window and manually change the encoded
    characters back in both places, it still reverts it again once I close it.

    Is there another work-around for this?

    mgm36 Guest

  5. #4

    Default Re: contribute rewriting special characters in links

    I did the same and even reopened the link dialogue and it was still coded correctly.

    I am running CT3.1. Which version are you running as that may be an issue?



    LDudd Guest

  6. #5

    Default Re: contribute rewriting special characters in links

    Oops,

    soz I didnt test it as fully as I thought I had done, but on a retest I get this lssue too.
    LDudd Guest

  7. #6

    Default Re: contribute rewriting special characters in links

    I'm relatively new to using Contribute and have just ran into this same issue.
    I am trying to create a link to a file on a server on our network, but the
    server name has an @ at the beginning. Every time I attempt to create the link
    Contribute removes the @.

    I tried putting the destination in the HREF field too, but it didn't work
    either. When I come back into the link properties it removes the @ sign again.

    Any info on how to make the character stick is greatly appreciated.

    ransom66 Guest

  8. #7

    Default Re: contribute rewriting special characters in links

    As the original poster, let me tell you what I've found out from contribute so
    far. I contacted their tech support, they recognize this as a bug and it has
    been assigned to the engineering team (and from what I understand is in the
    process of being fixed). However, they could not give me any time frame as to
    when the next major or minor release of contribute would come out, so it may be
    a bit of a wait.

    In the meantime, the suggestion was to allow editing in an external
    application - so you need to open your page in dreamweaver or notepad or
    something and then manually fix the characters in the link.

    mgm36 Guest

  9. #8

    Default Re: contribute rewriting special characters in links

    I've just discovered this issue. Any word from support on when a patch will be coming out?
    WILL_CHE Guest

  10. #9

    Default Re: contribute rewriting special characters in links

    I have the same problem and am now anxiously awaiting a patch to correct the problem.
    seshelby Guest

  11. #10

    Default Re: contribute rewriting special characters in links

    Has this problem been fixed since it was originally posted in 2005? It's 2007
    now, and we just launched a site in Contribute at my University. We see this
    problem occurring even now.

    We realized on our own that we could manually edit our links in an external
    application to fix them, but we have quite a lot of links that need this extra
    editing. A fix would be preferable to manual editing. Was there ever a fix
    discovered for this?

    Thanks for any advice!

    [q]Originally posted by: mgm36
    As the original poster, let me tell you what I've found out from contribute so
    far. I contacted their tech support, they recognize this as a bug and it has
    been assigned to the engineering team (and from what I understand is in the
    process of being fixed). However, they could not give me any time frame as to
    when the next major or minor release of contribute would come out, so it may be
    a bit of a wait.

    In the meantime, the suggestion was to allow editing in an external
    application - so you need to open your page in dreamweaver or notepad or
    something and then manually fix the characters in the link.[/q]



    Smarcin Guest

  12. #11

    Default Re: contribute rewriting special characters in links

    Wow, I can't believe this hasn't been fixed in a 2 year time period. We are also running into the problem at our University. This needs to be fixed ASAP.
    NateWeb Guest

  13. #12

    Default Re: contribute rewriting special characters in links

    I am also having this problem we bought contribute CS3 yesterday is there a fix yet?
    niffummuffin Guest

  14. #13

    Default Re: contribute rewriting special characters in links

    I came up with a javascript workaround for the time being. Basically, it just
    prints out the url on the client side.

    In a .js file that is imported in the header:

    function urlFix(url) {

    var url = 'http://www.firstpartofyoururl.com?url=http://'+url
    window.location = url;

    }

    Then, when you are adding or editing a link in Contribute, just type this into
    the url field:

    javascript:urlFix('destinationurl.com')






    NateWeb Guest

  15. #14

    Default Re: contribute rewriting special characters in links

    Oh dear, have just noticed that contribute is corrupting the links even after
    correcting them in Dreamweaver.
    If I make any subsequent changes to the page (even just text - not links) then
    all the links on the page are corrupted when I hit 'Publish'.
    So you basically cannot update a page without ruining your links. Great.
    Adobe you really need to sort this problem fast.

    muffinniffum Guest

  16. #15

    Default Re: contribute rewriting special characters in links

    Appreciate your help - thanks for the tip!

    I have also found that you can add the link as a HTML Snippett and this works,
    but you can't edit it only re-write it.

    Another problem I came across is when you have really long links the browser
    cuts them off ?!?!?

    :--(

    muffinniffum Guest

  17. #16

    Default Re: contribute rewriting special characters in links

    It seems ridiculous this has not been fixed!
    lisa3711 Guest

  18. #17

    Default Re: contribute rewriting special characters in links

    [q]Originally posted by: LDudd
    Yes.

    In you insert link dialogue box you should have an advanced button, paste your
    URL into this box and it should remain unencoded.

    LDudd
    [/q]



    Bailstoke Guest

  19. #18

    Default Re: contribute rewriting special characters in links

    i have a somewhat related question... Our issue is when we send a draft to a reviewer, and they approve it, when prompted to publish it the file name changes?


    Bailstoke Guest

  20. #19

    Default Re: contribute rewriting special characters in links

    That tip has never worked for me. I think it's the same process described in
    one of their TechNotes:
    [url]http://kb.adobe.com/selfservice/viewContent.do?externalId=bd557a81&sliceId=2[/url]

    [q]Originally posted by: Bailstoke
    [Q]Originally posted by: LDudd
    Yes.

    In you insert link dialogue box you should have an advanced button, paste your
    URL into this box and it should remain unencoded.

    LDudd
    [/Q]

    [/q]



    Smarcin Guest

  21. #20

    Default Re: contribute rewriting special characters in links

    I am having this same issue except that I am adding Library items that includes
    the following script:

    <a href="http://<!--#ystore_catalog id="b01" field="product-url" -->">

    And after adding the library item that contains this code, Contribute changes
    it to the following:

    <a href="http://<!--#ystore_catalog id="b01="b01"" field="product-url" -->">

    Dreamweaver does not have this problem when I add the same library item to a
    page.

    I am just getting onto this thread late but it sounds like this is a two year
    old known issue. Makes me wonder just how effective these forums are as far
    as gaining attention from Adobe tech support. I certainly don't have $1200 to
    blow on a tech support plan which may help problem solve this.

    There's a good chance that I am doing something wrong as I am more of a
    designer inserting code than a coder who knows what they are doing. But it is
    confounding that there is such a difference in behaviors here between
    Dreamweaver and Contribute.

    beansnrice Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139