WebPath mnior bug?

RT 4.4.1, with:

Set($WebPath, “/rt4/”);

we get:

[error]: The WebPath config option requires no trailing slash (/opt/rt4/sbin/…/lib/RT/Config.pm:826)


Set($WebPath, “/rt4”);

we get:

[warning]: The requested path (’/rt4/’) does NOT match the configured WebPath (/rt4). Perhaps you should Set($WebPath, ‘/rt4/’ in RT_SiteConfig.pm, otherwise your internal hyperlinks may be broken. (/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:1344)

What are we missing here?

Nevermind, as is the way, as soon as I hit send I knew what it was. The paths in httpd/conf.d/rt4.conf had trailing slashes, which is why they were being looked for. Removing them in that conf file removed the error/warning.