hapi-server / server-java

Java-based server which works with Java-based web servers like Tomcat
Apache License 2.0
0 stars 1 forks source link

inconsistent handling of json with x-landing.json #44

Open jbfaden opened 1 week ago

jbfaden commented 1 week ago

I noticed that my production HAPI server was failing, and I finally figured out it was because my x-landing.json file was malformed:

{  
   x-landing-exclude: ['C._CP_STA_CS_NBR'],
   x-landing-include: ['C1_PP_.*'] 
}

not having quotes around x-landing-exclude. When I went to debug this and improve the error feedback, I found that my development environment allowed this JSON. I'm really not sure what the difference between the two is.