#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    92
    Rep Power
    10

    Question Cflocation with commas in URL


    Code:
    <CFLOCATION url="http://maps.2gis.ru/odessa/#center/30.739717,46.437543/zoom/9/popup/30.739694,46.437527/feature/1970960492172995/query/search/criteria/name/string/%D0%BF%D0%B0%D0%BF%D0%B0%D1%88%D0%BE%D0%BD">
    ....is giving me an "invalid CFML construct" error pointing to the commas in the URL, and I haven't been able to find a solution. Any ideas?

    Thanks,
    Jason
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,263
    Rep Power
    968
    You have to escape the pound sign. Make it "##center".
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    92
    Rep Power
    10
    Well that's embarrassing! I was certain that I had already tried escaping the pound sign without success, but I tried it (again?) and all is well now. Thanks.

IMN logo majestic logo threadwatch logo seochat tools logo