-
Notifications
You must be signed in to change notification settings - Fork 8
Disabled search term being shown temporarily #381
Disabled search term being shown temporarily #381
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hey @tukantje , could you please fill me in a bit more what should I test here? |
If you search for something that doesn't exist like the following; https://explorer-dev-git-fix-disable-search-term-from-be-8d0163-cowswap.vercel.app/search/give me money please It doesn't show the search term (which is what we want) as opposed to; |
<strong>"{searchString}"</strong> | ||
</p> | ||
</p>*/} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kill the dead code :)
@tukantje , got it. Thanks! |
It is a temporary measure until we can ensure that no content can be injected in the search term. I agree completely with you that UX wise it is a regressive step. |
I think doing some compromise should be also not to involved just test if its a hex, for example, and if so, we print it, if not we don't. but anyways, not big deal, is not like people type here by hand (unless they expect to type their ENS address or a token (which i don't think we support) |
Summary
Due to a recent report, we have disabled the search term from being shown to the user as a temporary fix.
To Test
Background
We are discussing what can be done here, but at the very least, we'll need a validator for the search term before we can show this again.