ammonia
ammonia copied to clipboard
Is it intentional that there is no finer fitering of urls
We are working on a project which required quite fine filtering on urls, this includes filtering of absolute urls and based on context (things like, will the tag this url is part of make the brower auto load the url), and for as far as we could tell this kind of url filtering is not really available. We were wondering if this is intentional, or if this is something that could be expected in a future version of ammonia.
attribute_filter lets you run any code you want on <a href>. Does that not solve your problem?