Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
7 subscribers
Views
2819 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
We're exploring several options to display a document on an external link. O
peterk
over 10 years ago
We're exploring several options to display a document on an external link. One option is to modify safehtml.xml to allow displaying file links: <
regexp name="fileURL" value="\\s*file:.*"/>
I've tried modifying the xml on the webserver, restarted webserver.. and in runtime_ear.. and restarted JBOSS, but it seems either does not work.
To test, I've deleted mailto in:
FROM: <regexp name="offsiteURL" value="((\\s)*(s?(ht|f)tp(s?)://|mailto:)[\\p{L}\\p{N}]+[~\\p{L}\\p{N}._=$%&;\\-?/+#,!@:\\(\\)*[^\\\\u0000-\\\\u007f ]]*(\\s)*)"/>.
TO: <regexp name="offsiteURL" value="((\\s)*(s?(ht|f)tp(s?)://)[\\p{L}\\p{N}]+[~\\p{L}\\p{N}._=$%&;\\-?/+#,!@:\\(\\)*[^\\\\u0000-\\\\u007f ]]*(\\s)*)"/>
But modifying both locations still allows mailto: links to display on forms. Any suggestions on where I should be looking?
FYI, a couple other options would entail not modifying this file. Still in the gathering data phase... Help appreciated!...
OriginalPostID-117342
OriginalPostID-117342
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 10 years ago
1. Can you run a search for safehtml.xml to make sure that file is not placed anywhere else by mistake?
2. Try restarting the application server
3. Double check the URL is being built in the same way was in the other environments (e.g. same number of //)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 10 years ago
1. Can you run a search for safehtml.xml to make sure that file is not placed anywhere else by mistake?
2. Try restarting the application server
3. Double check the URL is being built in the same way was in the other environments (e.g. same number of //)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data