Turansky Posted January 15, 2002 Posted January 15, 2002 Only in Netscape both on the Mac and Window computer I am getting an error when clicking on my link that says, "Bad Request - The server could not process your request due to a syntax error." Well I narrowed it down to when I'm asking if a field name equals a value or not. It seems that if I have a "space" or "/" in my value it will return this error above. &content_area=Classroom / Model If I take it out I no longer get the error but then of course get the wrong kind of results. Anyone have any solutions on this Netscape annoyance? "http://xxx.xxx.xxx.xxx/FMPro?-DB=scoe_events.fp5&-Format=scoe/events.html&-SortField=Date&-SortOrder=ascend&content_area=Classroom / Model&-Max=all&-Find" Thank you Kent
Garry Claridge Posted January 16, 2002 Posted January 16, 2002 You need to use URL encoding to allow for spaces and other characters; e.g. a space becomes %20 (I think). You can either, find-out what the codes are and manually replace the characters, or use Javascript for encoding the URLs. CDML will encode comming back from the database with [FMP-Field: myfield, html] (which is the default). Hope this helps. Garry
Recommended Posts
This topic is 8416 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now