Image URL with filename that have multiple equal sign cause error
baoc75 opened this issue · comments
I have a site with Codecogs (as a math formula editor - LaTex editor).
For example, each formula imports from Codecogs will look like this:
<img src="https://latex.codecogs.com/gif.latex?|t|\leq&space;1" alt="|t|\leq 1" align="absmiddle" />
My file name setting is: %timestamp%-%filename
Codecogs:
<img src="https://latex.codecogs.com/gif.latex?y=f(x)=\frac{g(x)}{h(x)}" alt="y=f(x)=\frac{g(x)}{h(x)}" align="absmiddle">
The plugin then change to local url, and it returns 404 Error.
<img src="https://abc.com/wp-content/uploads/2019/05/29_timestamp-filename.gif=\frac{g(x)}{h(x)}" alt="y=f(x)=\frac{g(x)}{h(x)}" align="absmiddle">
This URL https://abc.com/wp-content/uploads/2019/05/29_timestamp-filename.gif return a path of formula image: y = f(x) while the full formula is: y=f(x)=\frac{g(x)}{h(x)}
So I believed that the "=" characters cause the problem as the plugin think that it's over so it don't continue fetch the image any more?