Return to Jive Software

Skip navigation
3,794 Views 22 Replies Last post: Jul 17, 2009 5:18 AM by srzwoj RSS
bcswissre Beginner 396 posts since
Jan 9, 2009
Currently Being Moderated

May 15, 2009 1:59 AM

Accepted URI Schemes

Hi,

 

I've got a strange problem.

 

I adjusted the HTML filter to accept notes:// schemes as we have a notes environment in our company and would like to link to notes documents from Clearspace.

 

After doing this, the href is not replaced by # but the notes:// scheme itself is removed and replaced with a / causing the URL be be understood as a URL within the clearspace server.

 

I have tested this on the same version localled and encounter no problems, so have to assume that it's a configuration issue but cannot find where this behaviour is located.

 

I see the issue in 2.5.11 and 3.0.2 as well.

 

Any ideas?

 

Thanks,

Ben.

karlcyr Jive Employee 9,349 posts since
Mar 12, 2008
Currently Being Moderated
May 15, 2009 6:17 AM in response to: Benjamin Chiad
Re: Accepted URI Schemes

Hi Ben,

 

I was able to make this work in my environment. Did you make the setting in both the URL and HTML filters? Are those filters turned on? Did you make the change to the /template/global/content-picker.ftl template?

 

Regards,

Karl

karlcyr Jive Employee 9,349 posts since
Mar 12, 2008
Currently Being Moderated
May 15, 2009 6:37 AM in response to: Benjamin Chiad
Re: Accepted URI Schemes

Do you have the same result when you insert a link with the "Insert Link" interface vs. simply typing the link into the body of the text?

karlcyr Jive Employee 9,349 posts since
Mar 12, 2008
Currently Being Moderated
May 15, 2009 10:45 AM in response to: Benjamin Chiad
Re: Accepted URI Schemes

Ben,

 

The filters are applied to data as it is being read from the database and output to the user. If you look at the content in the database, it should appear as you submitted it.

 

One possibility is that if you added the links first, then made the change to allow the notes:// URL scheme, the original rendered content may be cached without the links. A cache flush or system restart would resolve the issue in this case.

 

Regards,

Karl

karlcyr Jive Employee 9,349 posts since
Mar 12, 2008
Currently Being Moderated
May 18, 2009 9:55 AM in response to: Benjamin Chiad
Re: Accepted URI Schemes

To clarify your comments above: you have seen this working on 2.5.11 and 3.0.2? Or was it a slightly different version?

karlcyr Jive Employee 9,349 posts since
Mar 12, 2008
Currently Being Moderated
May 19, 2009 8:52 AM in response to: Benjamin Chiad
Re: Accepted URI Schemes

Given the thoroughness of your test plan, is it safe to assume that you are creating the same content in the same manner on each instance? I'm looking for anything that would be different between the instances which might cause this to behave in slightly different ways.

 

My other question: did you make these changes to the system properties table, or via the Spaces > Settings > Filters and Macros page? If you changed the system properties directly, you need to restart your server for the changes to take effect.

 

As far as debugging goes, I would recommend setting a breakpoint on the execute() method for the URLFilter, HTMLFilter, and DocCreateAction classes. This way you should be able to see the content as it gets passed through the different stages of filters.

karlcyr Jive Employee 9,349 posts since
Mar 12, 2008
Currently Being Moderated
May 26, 2009 1:33 PM in response to: Benjamin Chiad
Re: Accepted URI Schemes

Hi Benjamin,

 

Just wanted to clarify the results of your testing here:

 

 

Is this a correct understanding?

 

Regards,
Karl

karlcyr Jive Employee 9,349 posts since
Mar 12, 2008
Currently Being Moderated
May 27, 2009 9:38 AM in response to: Benjamin Chiad
Re: Accepted URI Schemes

Thanks for the detailed troubleshooting, Ben. I went ahead and filed this as a bug: CS-13555 - Non-standard URL rewriting wrong when app is deployed in root context.

karlcyr Jive Employee 9,349 posts since
Mar 12, 2008
Currently Being Moderated
May 28, 2009 2:10 PM in response to: Benjamin Chiad
Re: Accepted URI Schemes

Hi Ben,

 

The bug has not yet passed through our weekly QA triage, so it has not been assigned to a specific release yet.

 

Regards,

Karl

karlcyr Jive Employee 9,349 posts since
Mar 12, 2008
Currently Being Moderated
Jun 5, 2009 9:44 AM in response to: Benjamin Chiad
Re: Accepted URI Schemes

Hi Benjamin,

 

I ran this by our QA manager to ensure that it is scheduled for a release. Right now it should be targeted for the August release.

 

Regards,

Karl

karlcyr Jive Employee 9,349 posts since
Mar 12, 2008
Currently Being Moderated
Jul 7, 2009 4:58 PM in response to: Benjamin Chiad
Re: Accepted URI Schemes

Hey Benjamin,

 

I am following up on this one. I think in the grand scheme of things this comes across as a minor bug for our engineering team, but we understand the importance it has to the success of your community. I'll see what can be done about this.

 

Regards,

Karl

srzwoj Beginner 328 posts since
Jul 17, 2008
Currently Being Moderated
Jul 17, 2009 5:18 AM in response to: Karl Cyr
Re: Accepted URI Schemes

Hi Karl

 

Thank you for moving it into the 3.0.7 release!

 

~Wolfgang

More Like This

  • Retrieving data ...

Bookmarked By (0)

Case Product Issues

Loading Jira issues

Loading related product issues for this case
To better serve our customers we have included functionality to automatically follow up on a case after it has been idle for more than 5 days, and then auto close after an additional 3 days of inactivity. Choose No to acknowledge that this case will remain idle for longer than 5 days.
Making cases public allows other customers to learn from the solution of the case. It can also be used to gain feedback from others in the community. Ask our Support Engineers for more info, but we encourage you to make your cases public.