Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

sapce comes with colon when use <a href=\"https:\/\/ in replacement #37

Open
hueyless opened this issue Mar 11, 2019 · 0 comments
Open

Comments

@hueyless
Copy link

content_type text/json.*
search_pattern "(https:\\/\\/.+\.(?:(?i)jpg|jpeg|png|bmp|gif))"
replacement "<a href=\"https:\/\/{request_host}\/imageproxy\/{1}\">{1}<\/a>"

what I get:
https: \/\/{request_host}\/imageproxy\/https: \\/\\/whatever.jpg
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant