You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, markdown links are unprocessed and are forwarded straight to EuiLink, which means non-URI protocols can be specified. To help users avoid unintended functionality, we should introduce a parser plugin to apply encodeURI to URLs. The plugin should be applied in a way to disallow consumers from removing it.
The text was updated successfully, but these errors were encountered:
This ties in with #4195 where markdown links not starting with a protocol are assumed to be relative, but the errant result is obscured. Instead of encodeURI, let's check for http/https protocol or a leading / and unlink anything not matching.
Currently, markdown links are unprocessed and are forwarded straight to EuiLink, which means non-URI protocols can be specified. To help users avoid unintended functionality, we should introduce a parser plugin to apply
encodeURI
to URLs. The plugin should be applied in a way to disallow consumers from removing it.The text was updated successfully, but these errors were encountered: