todos-contra-el-fuego-web/imports/ui/pages
vjrj 9feaca9d0b fix: fire ids leaked into URLs as ObjectID("...") on Mongo 7
Fire collections use idGeneration:'MONGO', so _id is a Mongo.ObjectID whose
toString() is ObjectID("<hex>"), not the bare hex. Interpolating _id into a
URL produced /fire/archive/ObjectID("c0..."), which no route matches -> the
fire-detail page 404'd. New hexId() helper returns the 24-char hex for an
ObjectID (and passes plain strings through); applied at the three string-context
sites: the map-marker click URL (MarkListeners), the active->archive redirect,
and the comments referenceId (Fires.js). Left falsePositives.insert untouched —
its check() expects a Meteor.Collection.ObjectID, so it takes the object.

Verified in browser: /fire/archive/<hex> and /fire/active/<hex> render the
detail page (map + comments), URL stays clean hex, no ObjectID( anywhere.
2026-07-17 18:31:59 +02:00
..
About About page 2018-02-22 10:49:15 +01:00
Auth Telegram auth (wip) 2018-01-26 12:49:53 +01:00
Credits Pages (terms/tos/privacy), comments improvements, etc 2018-01-21 20:53:21 +01:00
Documents Removed createContainer 2018-02-07 16:37:26 +01:00
EditDocument Removed createContainer 2018-02-07 16:37:26 +01:00
EditSubscription Removed createContainer 2018-02-07 16:37:26 +01:00
Fires fix: fire ids leaked into URLs as ObjectID("...") on Mongo 7 2026-07-17 18:31:59 +02:00
FiresMap scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass) 2026-07-17 18:18:04 +02:00
FireSubscription Cancel btn in SelectionMap only in subscriptions. Added title 2018-03-04 10:55:14 +01:00
Index scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass) 2026-07-17 18:18:04 +02:00
License Pages (terms/tos/privacy), comments improvements, etc 2018-01-21 20:53:21 +01:00
Login More work with titles & descriptions 2018-02-07 15:27:12 +01:00
Logout scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass) 2026-07-17 18:18:04 +02:00
NewDocument wip wiring up account forms 2017-05-25 16:31:01 -05:00
NewSubscription Login/Auth and pariticipate. Telegram auth (wip) 2017-12-22 09:33:37 +01:00
NotFound More work with titles & descriptions 2018-02-07 15:27:12 +01:00
Page scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass) 2026-07-17 18:18:04 +02:00
Privacy Email translations 2018-01-22 13:27:46 +01:00
Profile scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass) 2026-07-17 18:18:04 +02:00
RecoverPassword More work with titles & descriptions 2018-02-07 15:27:12 +01:00
ResetPassword More work with titles & descriptions 2018-02-07 15:27:12 +01:00
Sandbox Improved firesmap 2017-12-15 17:43:45 +01:00
Signup Propagate locate state in signup 2018-03-02 10:39:14 +01:00
Status More work with titles & descriptions 2018-02-07 15:27:12 +01:00
Subscriptions scss: migrate @import -> @use, lighten/darken -> color.adjust (dart-sass) 2026-07-17 18:18:04 +02:00
Terms Email translations 2018-01-22 13:27:46 +01:00
TestError Simplify Test page 2018-03-03 08:41:53 +01:00
VerifyEmail More work with titles & descriptions 2018-02-07 15:27:12 +01:00
ViewDocument Removed createContainer 2018-02-07 16:37:26 +01:00
ViewSubscription Removed createContainer 2018-02-07 16:37:26 +01:00
ZonesMap ZonesMap refactor 2018-03-03 11:41:12 +01:00