Huh, that's weird indeed, I suppose then it's hardcoded on the jspwiki parser. IIRC, the markdown parser allows both kind off quotes.
In any case I think this should be documented on the plugin page at jspwiki-wiki.a.o, I'll try to do that later tonight. Thanks for looking into this! Best regards, juan pablo El dom, 2 nov 2025, 17:21, Alex O'Ree <[email protected]> escribió: > root cause is that parameters need to be in single quotes, not double > quotes. not too sure where that's documented but that resolved the issue. > also updated the ticket with that information too > > On Mon, Oct 27, 2025 at 5:45 PM Alex O'Ree <[email protected]> wrote: > > > https://issues.apache.org/jira/browse/JSPWIKI-1212 > > issue created with unit tests > > > > On Mon, Oct 27, 2025 at 3:58 PM Alex O'Ree <[email protected]> wrote: > > > >> Ironically it's the iframe plugin from digital spider. I'll see if I can > >> whip up a unit test for you > >> > >> On Mon, Oct 27, 2025, 3:31 PM Juan Pablo Santos Rodríguez < > >> [email protected]> wrote: > >> > >>> Hi Alex! > >>> > >>> That's weird, you're supposed to get the parameters as they were > provided > >>> to the plugin. I suppose the plugin isn't doing nothing fancy, so a > >>> couple > >>> of ideas/questions: > >>> > >>> - [#1] notes special plugin parameters to get the plugin invocation, do > >>> the > >>> parameters arrive there as supposed? > >>> > >>> - Any chance you could share the plugin code? Or a unit test > highlighting > >>> the issue? > >>> > >>> > >>> Kind regards, > >>> juan pablo > >>> > >>> [#1] https://jspwiki-wiki.apache.org/Wiki.jsp?page=HowToWriteAPlugin > >>> > >>> El vie, 24 oct 2025, 21:30, Alex O'Ree <[email protected]> escribió: > >>> > >>> > If I have a jspwiki plugin that requires an input parameter (url), > you > >>> > would define it in the wiki page with something like this > >>> > > >>> > [{org.myplugin.Plugin url=https://www.weather.gov}] > >>> > however i'm seeing what appears to be parsing issue somewhere up in > >>> jspwiki > >>> > codes. When I request the "url" parameter, i only get back "https" > >>> that's > >>> > it. > >>> > > >>> > I've tried wrapping the value in quotes but then i get null for "url" > >>> > > >>> > Open to suggestions > >>> > > >>> > >> >
