Plugin user_img.html bug

hehachris

Verified User
Joined
Nov 24, 2004
Messages
538
Location
Hong Kong
The |DOMAIN| token is not being interpreted in user_img.html, while i expected it should be the same as user_txt.html

if I put this in user_img.html:

<a class="button" href="/CMD_PLUGINS/tomcat/?domain=|DOMAIN|">

The link becomes http://yourname.com:2222/CMD_PLUGINS/tomcat/?domain=|DOMAIN|

Please fix it John ;)
 
Actually, it's a pure fluke that user_txt.html was even tokenizing DOMAIN. (I'm not sure how it was being done, but I didn't intentionally do it). Only the environment was being tokenized for the plugins.

In any case, I've changed the code around so that the GET portion is tokenized with the plugins. This means you should be able to reliably use |domain| (|DOMAIN| isn't as consistent, use the lower case)

:)

John
 
Back
Top