[I] [BUG] ReqeustMappingPlugin根据规则重构请求body的时,把value当作key替换了 [shenyu]</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=notifications@shenyu.apache.org&q=from:%22via+GitHub%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">via GitHub</span></span></a></span> <span class="date"><a href="/search?l=notifications@shenyu.apache.org&q=date:20250127" rel="nofollow">Mon, 27 Jan 2025 05:49:41 -0800</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> CaoMaoLuFei opened a new issue, #5919: URL: <a rel="nofollow" href="https://github.com/apache/shenyu/issues/5919">https://github.com/apache/shenyu/issues/5919</a></pre><pre> ### Is there an existing issue for this? - [x] I have searched the existing issues ### Current Behavior **这是我的规则配置** ![Image](<a rel="nofollow" href="https://github.com/user-attachments/assets/58108345-3460-41e3-88f0-a4ae4cfa49f7">https://github.com/user-attachments/assets/58108345-3460-41e3-88f0-a4ae4cfa49f7</a>) **代码里是这样写的:** ![Image](<a rel="nofollow" href="https://github.com/user-attachments/assets/2d31f969-289b-4e9b-bcd8-89c4fdaf1889">https://github.com/user-attachments/assets/2d31f969-289b-4e9b-bcd8-89c4fdaf1889</a>) **com.jayway.jsonpath.WriteContext#renameKey 这个方法的源码介绍是如下:** ![Image](<a rel="nofollow" href="https://github.com/user-attachments/assets/ed869139-8aa0-41d7-921f-8b462778be5e">https://github.com/user-attachments/assets/ed869139-8aa0-41d7-921f-8b462778be5e</a>) 应该使用 **com.jayway.jsonpath.WriteContext#put才对 ### Expected Behavior _No response_ ### Steps To Reproduce _No response_ ### Environment ```markdown ShenYu version(s): ``` ### Debug logs _No response_ ### Anything else? _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@shenyu.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg32516.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="thrd2.html#32517">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="mail2.html#32517">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg32520.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email tSliceCur"><span class="subject">[I] [BUG] <title>ReqeustMappingPlugin根据规则重构请求body的时,把valu...</span> <span class="sender italic">via GitHub</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg32520.html">Re: [I] [BUG] <title>ReqeustMappingPlugin根据规则重构请求bod...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg32627.html">Re: [I] [BUG] <title>ReqeustMappingPlugin根据规则重构请求bod...</a></span> <span class="sender italic">via GitHub</span></li> <li class="icons-email"><span class="subject"><a href="msg32630.html">Re: [I] [BUG] <title>ReqeustMappingPlugin根据规则重构请求bod...</a></span> <span class="sender italic">via GitHub</span></li> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="[I] [BUG] <title>ReqeustMappingPlugin根据规则重构请求body的时,把value当作key替换了 [shenyu]"> <input type="hidden" name="msgid" value="I_kwDOCGCHjs6nrD_2@gitbox.apache.org"> <input type="hidden" name="relpath" value="notifications@shenyu.apache.org/msg32517.html"> <input type="submit" value=" via GitHub "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="notifications@shenyu.apache.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search notifications"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/notifications@shenyu.apache.org/">notifications - all messages</a></li> <li class="icons-about"><a href="/notifications@shenyu.apache.org/info.html">notifications - about the list</a></li> <li class="icons-expand"><a href="/search?l=notifications@shenyu.apache.org&q=subject:%22%5C%5BI%5C%5D+%5C%5BBUG%5C%5D+%3Ctitle%3EReqeustMappingPlugin%E6%A0%B9%E6%8D%AE%E8%A7%84%E5%88%99%E9%87%8D%E6%9E%84%E8%AF%B7%E6%B1%82body%E7%9A%84%E6%97%B6%EF%BC%8C%E6%8A%8Avalue%E5%BD%93%E4%BD%9Ckey%E6%9B%BF%E6%8D%A2%E4%BA%86+%5C%5Bshenyu%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg32516.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg32520.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">I_kwDOCGCHjs6nrD_2@gitbox.apache.org</li> </ul> </div> </body> </html> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9ecaed265a358020',t:'MTc3NjI1NTg1Nw=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>