browser_search bug extension shimmie

Image

main image
Uploader artanis, avatar
Tags browser_search bug extension shimmie
Source
Unknown
Locked No

Comments

- Reply
atg: There's no graceful way to handle the differentiation between tags and the xml file I need... so as long as no one uses the tag above, it shouldn't be an issue.

This error is also the result of Firefox not handling relative URLs well.
avatar
- Reply
artanis: Do you need to make it look like a file? Just give it a url and use GET for the search parameters. You'll have to take the "please_dont_use_this..._search.xml" out of the test. You're not using the /browser_search for anything else right?

/browser_search?search=tag

<?php
echo $_GET['search']; // tag
- Reply
atg: Anything that's not "please_dont_use_this..._search.xml" is treated as a tag to look up for the auto-complete feature. /browser_search/ca will get any tags like 'ca'.
avatar
- Reply
artanis: What I'm saying is you don't need to use /browser_search/$tag, if you use /browser_search?search=$tag then just /browser_search can be the plugin. Or you could have /browser_search/plugin as the plugin. Use the GET portion of the url for what it's meant for in this situation.
avatar
- Reply
Shish: This is the reason that I split /user into /user/<username> and /user_admin/<do things> -- else a user could have the name "logout", which would link to /user/logout as their info page
avatar
- Reply
DJMixerr: OK Thanks!