<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SmartDukaan &#x2013; /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/interceptor/PostInterceptor.java</title><description>WebSVN RSS feed &#x2013; SmartDukaan</description><lastBuildDate>Sun, 28 Jun 2026 08:23:27 +0530</lastBuildDate><generator>WebSVN 2.8.6-DEV</generator><language>en</language><link>https://svn.smartdukaan.com/log.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;max=40&amp;</link><atom:link href="https://svn.smartdukaan.com/rss.php?path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;repname=SmartDukaan" rel="self" type="application/rss+xml" />
<item><pubDate>Wed, 10 Jun 2026 15:33:58 +0530</pubDate><dc:creator>amit</dc:creator><title>Rev 36819 – Fix idempotency dedup to be server-authoritative (content + partner scoped) ...</title><description>&lt;div&gt;&lt;strong&gt;amit – 3 file(s) modified&lt;/strong&gt;&lt;br/&gt;Fix idempotency dedup to be server-authoritative (content + partner scoped)&lt;br /&gt;
&lt;br /&gt;
PostInterceptor now keys duplicates on sha256(fofoId|method|uri|bodyHash) for&lt;br /&gt;
mutating methods only, instead of the client-supplied IdempotencyKey header.&lt;br /&gt;
The header was rotated per-request by the frontend (and old/sticky clients),&lt;br /&gt;
so identical submissions produced distinct keys and were never deduped - e.g.&lt;br /&gt;
a create-offer burst created 147 duplicate rows. Keying on the request body&lt;br /&gt;
makes dedup independent of client behaviour; partner scoping prevents cross-&lt;br /&gt;
partner collisions; distinct payloads (one-offer-per-partner) are unaffected.&lt;br /&gt;
GET/HEAD are now never deduped (removes spurious GET 400s).&lt;br /&gt;
&lt;br /&gt;
common.js: attach IdempotencyKey only to mutating methods; stop rotating the&lt;br /&gt;
key on every ajaxComplete (kept reset on ajaxSuccess only). version 355.&lt;/div&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/AppConfig.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/interceptor/PostInterceptor.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/common.js&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=36819</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=36819</guid></item>
<item><pubDate>Sun, 10 May 2026 15:32:28 +0530</pubDate><dc:creator>amit</dc:creator><title>Rev 36510 – Fixed Idempotency Key Handling</title><description>&lt;div&gt;&lt;strong&gt;amit – 5 file(s) modified&lt;/strong&gt;&lt;br/&gt;Fixed Idempotency Key Handling&lt;/div&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/SpringWebAppInitializer.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/WebConfig.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/interceptor/PostInterceptor.java&lt;br /&gt;~ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/SpringWebAppInitializer.java&lt;br /&gt;~ /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/interceptor/PostInterceptor.java&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=36510</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=36510</guid></item>
<item><pubDate>Tue, 24 Sep 2024 12:50:03 +0530</pubDate><dc:creator>ranu</dc:creator><title>Rev 33793 – post interceptor manage log dor double click failure</title><description>&lt;div&gt;&lt;strong&gt;ranu – 1 file(s) modified&lt;/strong&gt;&lt;br/&gt;post interceptor manage log dor double click failure&lt;/div&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/interceptor/PostInterceptor.java&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=33793</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=33793</guid></item>
<item><pubDate>Mon, 23 Sep 2024 13:23:53 +0530</pubDate><dc:creator>ranu</dc:creator><title>Rev 33788 – aging maintain</title><description>&lt;div&gt;&lt;strong&gt;ranu – 3 file(s) modified&lt;/strong&gt;&lt;br/&gt;aging maintain&lt;/div&gt;~ /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/TransactionServiceImpl.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/interceptor/PostInterceptor.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/common.js&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=33788</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=33788</guid></item>
<item><pubDate>Wed, 11 Sep 2024 15:16:33 +0530</pubDate><dc:creator>ranu</dc:creator><title>Rev 33761 – commit post interceptor if key is not available return true</title><description>&lt;div&gt;&lt;strong&gt;ranu – 2 file(s) modified&lt;/strong&gt;&lt;br/&gt;commit post interceptor if key is not available return true&lt;/div&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/interceptor/PostInterceptor.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/create-position.vm&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=33761</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=33761</guid></item>
<item><pubDate>Wed, 11 Sep 2024 12:45:36 +0530</pubDate><dc:creator>ranu</dc:creator><title>Rev 33756 – post interceptor for every post handling</title><description>&lt;div&gt;&lt;strong&gt;ranu – 3 file(s) modified&lt;/strong&gt;&lt;br/&gt;post interceptor for every post handling&lt;/div&gt;~ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/WebConfig.java&lt;br /&gt;+ /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/interceptor/PostInterceptor.java&lt;br /&gt;~ /trunk/profitmandi-fofo/src/main/webapp/resources/js/common.js&lt;br /&gt;</description><link>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=33756</link><guid>https://svn.smartdukaan.com/revision.php?repname=SmartDukaan&amp;path=%2Ftrunk%2Fprofitmandi-fofo%2Fsrc%2Fmain%2Fjava%2Fcom%2Fspice%2Fprofitmandi%2Fweb%2Finterceptor%2FPostInterceptor.java&amp;rev=33756</guid></item>
</channel></rss>