NeatHtml whitelist

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
2/6/2012 7:27:11 AM
Gravatar
Total Posts 251

NeatHtml whitelist

I use to put my images in a different domain, so they won't be shown in the forums, if linked by users.

How difficult it's to place some URLs in the whitelist and don't get them filtered?

2/6/2012 7:38:15 AM
Gravatar
Total Posts 18439

Re: NeatHtml whitelist

The NeatHtml white list is about which html elements are allowed it doesn't use white lists for domains, it uses a regular expression to make sure its a relative url. I don't have any easy solution for this (right now) other than don't use a different domain for images you do want to use in forum posts.

I'll add a request in our project tracker to make that regex expression come from a config setting so you can edit it in the future.

Best,

Joe

2/6/2012 8:35:57 AM
Gravatar
Total Posts 251

Re: NeatHtml whitelist

Thanks Joe, I guessed it was hard to do... (being NeatHtml an external element, there isn't that much that's is possible to do)

I did not notice it before because I'm a trusted user in that forum and I'm one of the few that posts images.

I'll just do an iis redirect in a directory and I will workaround the problem

(for who has my problem and wants to have an easy fix, place this in a directory inside a web.config, then access the images with a relative url from there)

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<httpRedirect enabled="true" destination="http://new.url" httpResponseStatus="Permanent" />
</system.webServer>
</configuration>

You must sign in to post in the forums. This thread is closed to new posts.