UX bug - regex not matching a correct peer address #2195
Labels
area/screen/peers
Issues related to Peers screen
dependencies
Pull requests that update a dependency file
kind/bug
A bug in existing code (including security flaws)
P0
Critical: Tackled by core team ASAP
status/ready
Ready to be worked
Describe the bug
If the peer address contains
/quick-v1/
instead of/quick/
the field can't be validated and remains in errorTo Reproduce
Steps to reproduce the behavior:
Expected behavior
latest version of ipfs creates those address so they should be supported
Screenshots
![image](https://private-user-images.githubusercontent.com/3182882/298274469-4ae06c71-7922-4bd0-b0b9-e38ec388196c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg1ODc3ODMsIm5iZiI6MTczODU4NzQ4MywicGF0aCI6Ii8zMTgyODgyLzI5ODI3NDQ2OS00YWUwNmM3MS03OTIyLTRiZDAtYjBiOS1lMzhlYzM4ODE5NmMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDNUMTI1ODAzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDQ3MjJiM2U0ZWE3ZDZkYWZkYWExOTAwZGNkNWQwNWZiYzM1YTgxYjIwYjJhYzExZjYwYzJkNGJmODA3MTY4YSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.jDQFrCI8g5MDXGj88AG2jSbBEae4f-rWeBu60PorSPo)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: