Re: [whimsy] branch master updated: Can't have _json in same script as _html

2020-09-26 Thread Sam Ruby
Why was this removed? Wunderbar will select which of the two blocks to execute based on the "ACCEPT" header. - Sam Ruby On Sat, Sep 26, 2020 at 6:40 PM wrote: > > This is an automated email from the ASF dual-hosted git repository. > > sebb pushed a commit to branch master > in repository https:

Re: URI.escape - is it needed for wunderbar code?

2020-09-26 Thread Sam Ruby
On Sat, Sep 26, 2020 at 1:36 PM Sam Ruby wrote: > > On Sat, Sep 26, 2020 at 12:22 PM sebb wrote: > > > > On Sat, 26 Sep 2020 at 16:37, Sam Ruby wrote: > > > > > > On Sat, Sep 26, 2020 at 10:55 AM sebb wrote: > > > > > > > > The URI.escape method is deprecated, and should be replaced. > > > > >

Re: URI.escape - is it needed for wunderbar code?

2020-09-26 Thread Sam Ruby
On Sat, Sep 26, 2020 at 12:22 PM sebb wrote: > > On Sat, 26 Sep 2020 at 16:37, Sam Ruby wrote: > > > > On Sat, Sep 26, 2020 at 10:55 AM sebb wrote: > > > > > > The URI.escape method is deprecated, and should be replaced. > > > > > > However, I'm not sure it's actually needed for Wunderbar code.

Re: URI.escape - is it needed for wunderbar code?

2020-09-26 Thread sebb
On Sat, 26 Sep 2020 at 16:37, Sam Ruby wrote: > > On Sat, Sep 26, 2020 at 10:55 AM sebb wrote: > > > > The URI.escape method is deprecated, and should be replaced. > > > > However, I'm not sure it's actually needed for Wunderbar code. > > > > For example, posted-reports.json.rb has > > > > _link

Re: URI.escape - is it needed for wunderbar code?

2020-09-26 Thread Sam Ruby
On Sat, Sep 26, 2020 at 10:55 AM sebb wrote: > > The URI.escape method is deprecated, and should be replaced. > > However, I'm not sure it's actually needed for Wunderbar code. > > For example, posted-reports.json.rb has > > _link THREAD + URI.escape('<' + mail.message_id + '>') > > However surely

URI.escape - is it needed for wunderbar code?

2020-09-26 Thread sebb
The URI.escape method is deprecated, and should be replaced. However, I'm not sure it's actually needed for Wunderbar code. For example, posted-reports.json.rb has _link THREAD + URI.escape('<' + mail.message_id + '>') However surely Wunderbar _json handles any necessary escaping? And posted-r